To generate a class that has all the fields and methods, except that fields are not initialized and methods are empty. It's intended for being used as a place holder during code generation of reference to the "this" class itself.
| Fields inherited from class | Fields | 
|---|---|
| class ClassGenerator | innerClasses | 
| Constructor and description | 
|---|
| DummyClassGenerator
                                (GeneratorContext context, org.objectweb.asm.ClassVisitor classVisitor, ClassLoader classLoader, String sourceFile) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | protected CompileUnit | getCompileUnit() | 
|  | void | visitAnnotations(AnnotatedNode node) | 
|  | void | visitClass(ClassNode classNode) | 
|  | void | visitConstructor(ConstructorNode node) | 
|  | void | visitField(FieldNode fieldNode) | 
|  | void | visitMethod(MethodNode node) | 
|  | protected void | visitParameter(ASTNode node, Parameter parameter) | 
|  | protected void | visitParameters(ASTNode node, Parameter[] parameters) | 
|  | void | visitProperty(PropertyNode statement)Creates a getter, setter and field | 
Creates a getter, setter and field
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.