| java.lang.Object org.objectweb.speedo.generation.enhancer.common.LoggedClassVisitor org.objectweb.speedo.generation.mivisitor.ClassInfoAnalyzer
ClassInfoAnalyzer | public class ClassInfoAnalyzer extends LoggedClassVisitor implements ClassVisitor(Code) | | Analyzes a class and updates the Speedo meta information accordingly.
Adapted from storeClassInfo, verify and getField methods in EnhancerTool.
|
Inner Class :class ClassFieldFinder implements ClassVisitor | |
Method Summary | |
protected void | manageInheritance(String superName) | protected void | managedInterfaces(String[] interfaces) | public void | visit(int version, int access, String name, String superName, String[] interfaces, String sourceFile) | public void | visitAttribute(Attribute attribute) | public void | visitEnd() | public void | visitField(int access, String name, String desc, Object value, Attribute attrs) | public void | visitInnerClass(String name, String outerName, String innerName, int access) | public CodeVisitor | visitMethod(int access, String name, String desc, String[] exceptions, Attribute attrs) |
moClass | final SpeedoClass moClass(Code) | | The Speedo meta information for the visited class.
|
ClassInfoAnalyzer | public ClassInfoAnalyzer(AbstractEnhancerComponent enhancer, SpeedoClass sc, Collection xmlDescriptors, Logger logger)(Code) | | Creates a new
ClassInfoAnalyzer .
Parameters: enhancer - the access enhancer, used to load the super class(es) ofthe class, if necessary. Parameters: sc - the Speedo meta information for the visited class. |
manageInheritance | protected void manageInheritance(String superName)(Code) | | |
managedInterfaces | protected void managedInterfaces(String[] interfaces)(Code) | | |
visitAttribute | public void visitAttribute(Attribute attribute)(Code) | | |
visitEnd | public void visitEnd()(Code) | | |
visitMethod | public CodeVisitor visitMethod(int access, String name, String desc, String[] exceptions, Attribute attrs)(Code) | | |
Fields inherited from org.objectweb.speedo.generation.enhancer.common.LoggedClassVisitor | protected boolean debug(Code)(Java Doc) protected Logger logger(Code)(Java Doc)
|
Methods inherited from org.objectweb.speedo.generation.enhancer.common.LoggedClassVisitor | public Logger getLogger()(Code)(Java Doc) public void setLogger(Logger logger)(Code)(Java Doc) public void visit(int version, int i, String s, String s1, String[] strings, String s2)(Code)(Java Doc) public void visitAttribute(Attribute attribute)(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public void visitField(int access, String name, String desc, Object value, Attribute attrs)(Code)(Java Doc) public void visitInnerClass(String s, String s1, String s2, int i)(Code)(Java Doc) public CodeVisitor visitMethod(int i, String s, String s1, String[] strings, Attribute attrs)(Code)(Java Doc)
|
|
|