Class ClassStructureAdapter
java.lang.Object
org.objectweb.asm.ClassVisitor
org.jboss.byteman.agent.check.ClassStructureAdapter
public class ClassStructureAdapter
extends org.objectweb.asm.ClassVisitor
a simple and quick adapter used to scan a class's bytecode definition for the name of its superclass,
its enclosing class and the interfaces it implements directly
-
Field Summary
FieldsFields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
getSuper()
boolean
void
visit
(int version, int access, String name, String signature, String superName, String[] interfaces) org.objectweb.asm.AnnotationVisitor
visitAnnotation
(String desc, boolean visible) void
visitAttribute
(org.objectweb.asm.Attribute attr) void
visitEnd()
org.objectweb.asm.FieldVisitor
visitField
(int access, String name, String desc, String signature, Object value) void
visitInnerClass
(String name, String outerName, String innerName, int access) org.objectweb.asm.MethodVisitor
visitMethod
(int access, String name, String desc, String signature, String[] exceptions) void
visitOuterClass
(String owner, String name, String desc) void
visitSource
(String source, String debug) Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visitModule, visitNestHost, visitNestMember, visitPermittedSubclass, visitRecordComponent, visitTypeAnnotation
-
Field Details
-
isInterface
private boolean isInterface -
interfaces
-
superName
-
outerClass
-
-
Constructor Details
-
ClassStructureAdapter
public ClassStructureAdapter()
-
-
Method Details
-
isInterface
public boolean isInterface() -
getSuper
-
getOuterClass
-
getInterfaces
-
visit
-
visitSource
-
visitOuterClass
-
visitAnnotation
- Overrides:
visitAnnotation
in classorg.objectweb.asm.ClassVisitor
-
visitAttribute
public void visitAttribute(org.objectweb.asm.Attribute attr) - Overrides:
visitAttribute
in classorg.objectweb.asm.ClassVisitor
-
visitInnerClass
-
visitField
-
visitMethod
-
visitEnd
public void visitEnd()- Overrides:
visitEnd
in classorg.objectweb.asm.ClassVisitor
-