public class DummyClassGenerator extends ClassGenerator
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() |
|
public void |
visitAnnotations(AnnotatedNode node) |
|
public void |
visitClass(ClassNode classNode) |
|
public void |
visitConstructor(ConstructorNode node) |
|
public void |
visitField(FieldNode fieldNode) |
|
public void |
visitMethod(MethodNode node) |
|
protected void |
visitParameter(ASTNode node, Parameter parameter) |
|
protected void |
visitParameters(ASTNode node, Parameter[] parameters) |
|
public void |
visitProperty(PropertyNode statement) Creates a getter, setter and field |
Creates a getter, setter and field
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.