| org.objectweb.speedo.generation.enhancer.common.LoggedClassAdapter org.objectweb.speedo.generation.enhancer.pc.jdo.JDOImplRegistrationAdder
JDOImplRegistrationAdder | public class JDOImplRegistrationAdder extends LoggedClassAdapter (Code) | | Add the registration to the JDOImplHelper in a static code area
The added code use the class$(String)Class method and the field
class$classname which can exist or not. Therefore they are added if they do
not already exist.
author: S.Chassande-Barrioz |
Method Summary | |
public boolean | isGenerationAllowed() | public void | setGenerationAllowed(boolean v) | public void | visit(int version, int access, String name, String superName, String[] interfaces, String sourceFile) | public void | visitEnd() | public void | visitField(int i, String s, String s1, Object o, Attribute attribute) | public CodeVisitor | visitMethod(int access, String name, String desc, String[] exceptions, Attribute attrs) |
classFieldfound | boolean classFieldfound(Code) | | indicates if a static area class$classname already exists in the
current class.
|
classMethodfound | boolean classMethodfound(Code) | | indicates if the class$ method already exists in the current class
|
clinitfound | boolean clinitfound(Code) | | indicates if the field already exists in the current class
|
JDOImplRegistrationAdder | public JDOImplRegistrationAdder(ClassVisitor classVisitor, String className, Logger logger)(Code) | | |
isGenerationAllowed | public boolean isGenerationAllowed()(Code) | | |
setGenerationAllowed | public void setGenerationAllowed(boolean v)(Code) | | |
visitEnd | public void visitEnd()(Code) | | |
visitMethod | public CodeVisitor visitMethod(int access, String name, String desc, String[] exceptions, Attribute attrs)(Code) | | |
|
|