Merge branch '7.0.x'

This commit is contained in:
Sam Brannen
2026-04-08 11:14:48 +02:00
@@ -226,10 +226,11 @@ final class ClassFileAnnotationMetadata implements AnnotationMetadata {
if (type.isPrimitive()) {
return type.displayName();
}
if (type.isArray()) {
return resolveTypeName(type.componentType()) + "[]";
ClassDesc effectiveType = type;
while (effectiveType.isArray()) {
effectiveType = effectiveType.componentType();
}
String packageName = type.packageName();
String packageName = effectiveType.packageName();
return (packageName.isEmpty() ? type.displayName() : packageName + "." + type.displayName());
}