|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.asm.commons.EmptyVisitor
org.osjava.jardiff.ClassInfoVisitor
A reusable class which uses the ASM to build up ClassInfo about a java class file.
| Constructor Summary | |
ClassInfoVisitor()
|
|
| Method Summary | |
ClassInfo |
getClassInfo()
The the classInfo this ClassInfoVisitor has built up about a class |
void |
reset()
Reset this ClassInfoVisitor so that it can be used to visit another class. |
void |
visit(int version,
int access,
String name,
String signature,
String supername,
String[] interfaces)
Receive notification of information about a class from ASM. |
org.objectweb.asm.FieldVisitor |
visitField(int access,
String name,
String desc,
String signature,
Object value)
|
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
|
| Methods inherited from class org.objectweb.asm.commons.EmptyVisitor |
visit, visitAnnotation, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitFieldInsn, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassInfoVisitor()
| Method Detail |
public void reset()
public ClassInfo getClassInfo()
public void visit(int version,
int access,
String name,
String signature,
String supername,
String[] interfaces)
version - the class file version number.access - the access flags for the class.name - the internal name of the class.signature - the signature of the class.supername - the internal name of the super class.interfaces - the internal names of interfaces implemented.
public org.objectweb.asm.MethodVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
public org.objectweb.asm.FieldVisitor visitField(int access,
String name,
String desc,
String signature,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||