@java.lang.Deprecated class ClassMetadataReadingVisitor extends org.springframework.asm.ClassVisitor implements org.springframework.core.type.ClassMetadata
ASM class visitor which looks only for the class name and implemented types, exposing them through the org.springframework.core.type.ClassMetadata interface.
Note: This class was ported to Grails 7 from Spring Framework 5.3 as it was removed in Spring 6 without a public replacement.
Modifiers | Name | Description |
---|---|---|
private static class |
ClassMetadataReadingVisitor.EmptyAnnotationVisitor |
|
private static class |
ClassMetadataReadingVisitor.EmptyFieldVisitor |
|
private static class |
ClassMetadataReadingVisitor.EmptyMethodVisitor |
Modifiers | Name | Description |
---|---|---|
private java.lang.String |
className |
|
private java.lang.String |
enclosingClassName |
|
private boolean |
independentInnerClass |
|
private java.lang.String[] |
interfaces |
|
private boolean |
isAbstract |
|
private boolean |
isAnnotation |
|
private boolean |
isFinal |
|
private boolean |
isInterface |
|
private java.util.Set<java.lang.String> |
memberClassNames |
|
private java.lang.String |
superClassName |
Constructor and description |
---|
ClassMetadataReadingVisitor() |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getClassName() |
|
public java.lang.String |
getEnclosingClassName() |
|
public java.lang.String[] |
getInterfaceNames() |
|
public java.lang.String[] |
getMemberClassNames() |
|
public java.lang.String |
getSuperClassName() |
|
public boolean |
hasEnclosingClass() |
|
public boolean |
isAbstract() |
|
public boolean |
isAnnotation() |
|
public boolean |
isFinal() |
|
public boolean |
isIndependent() |
|
public boolean |
isInterface() |
|
public void |
visit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String supername, java.lang.String[] interfaces) |
|
public org.springframework.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc, boolean visible) |
|
public void |
visitAttribute(Attribute attr) |
|
public void |
visitEnd() |
|
public org.springframework.asm.FieldVisitor |
visitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value) |
|
public void |
visitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access) |
|
public org.springframework.asm.MethodVisitor |
visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions) |
|
public void |
visitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String desc) |
|
public void |
visitSource(java.lang.String source, java.lang.String debug) |
Methods inherited from class | Name |
---|---|
class org.springframework.asm.ClassVisitor |
org.springframework.asm.ClassVisitor#visit(int, int, java.lang.String, java.lang.String, java.lang.String, [Ljava.lang.String;), org.springframework.asm.ClassVisitor#visitSource(java.lang.String, java.lang.String), org.springframework.asm.ClassVisitor#visitField(int, java.lang.String, java.lang.String, java.lang.String, java.lang.Object), org.springframework.asm.ClassVisitor#visitAnnotation(java.lang.String, boolean), org.springframework.asm.ClassVisitor#visitEnd(), org.springframework.asm.ClassVisitor#visitMethod(int, java.lang.String, java.lang.String, java.lang.String, [Ljava.lang.String;), org.springframework.asm.ClassVisitor#visitTypeAnnotation(int, org.springframework.asm.TypePath, java.lang.String, boolean), org.springframework.asm.ClassVisitor#visitAttribute(org.springframework.asm.Attribute), org.springframework.asm.ClassVisitor#visitNestHost(java.lang.String), org.springframework.asm.ClassVisitor#visitOuterClass(java.lang.String, java.lang.String, java.lang.String), org.springframework.asm.ClassVisitor#visitNestMember(java.lang.String), org.springframework.asm.ClassVisitor#visitInnerClass(java.lang.String, java.lang.String, java.lang.String, int), org.springframework.asm.ClassVisitor#visitModule(java.lang.String, int, java.lang.String), org.springframework.asm.ClassVisitor#visitRecordComponent(java.lang.String, java.lang.String, java.lang.String), org.springframework.asm.ClassVisitor#getDelegate(), org.springframework.asm.ClassVisitor#visitPermittedSubclass(java.lang.String), org.springframework.asm.ClassVisitor#wait(long, int), org.springframework.asm.ClassVisitor#wait(), org.springframework.asm.ClassVisitor#wait(long), org.springframework.asm.ClassVisitor#equals(java.lang.Object), org.springframework.asm.ClassVisitor#toString(), org.springframework.asm.ClassVisitor#hashCode(), org.springframework.asm.ClassVisitor#getClass(), org.springframework.asm.ClassVisitor#notify(), org.springframework.asm.ClassVisitor#notifyAll() |