Uses of Class
org.glassfish.pfl.dynamic.codegen.impl.ClassGeneratorImpl
Packages that use ClassGeneratorImpl
-
Uses of ClassGeneratorImpl in org.glassfish.pfl.dynamic.codegen.impl
Methods in org.glassfish.pfl.dynamic.codegen.impl that return ClassGeneratorImplModifier and TypeMethodDescriptionstatic ClassGeneratorImpl
CodeGenerator.defineClass
(int modifiers, String name, Type superType, List<Type> impls) Define a ClassGeneratorImpl for a class.static ClassGeneratorImpl
CodeGenerator.defineInterface
(int modifiers, String name, List<Type> impls) Define a ClassGeneratorImpl for an interface.private ClassGeneratorImpl
ASMByteCodeVisitor.findClassGenerator
(Node arg) Methods in org.glassfish.pfl.dynamic.codegen.impl with parameters of type ClassGeneratorImplModifier and TypeMethodDescriptionvoid
ASMByteCodeVisitor.classGeneratorBeforeConstructor
(ClassGeneratorImpl arg) void
ASMSetupVisitor.classGeneratorBeforeConstructor
(ClassGeneratorImpl arg) void
NopVisitor.classGeneratorBeforeConstructor
(ClassGeneratorImpl arg) void
SourceStatementVisitor.classGeneratorBeforeConstructor
(ClassGeneratorImpl arg) void
TreeWalker.classGeneratorBeforeConstructor
(ClassGeneratorImpl arg) boolean
ASMByteCodeVisitor.classGeneratorBeforeFields
(ClassGeneratorImpl arg) boolean
ASMSetupVisitor.classGeneratorBeforeFields
(ClassGeneratorImpl arg) boolean
NopVisitor.classGeneratorBeforeFields
(ClassGeneratorImpl arg) boolean
SourceStatementVisitor.classGeneratorBeforeFields
(ClassGeneratorImpl arg) boolean
TreeWalker.classGeneratorBeforeFields
(ClassGeneratorImpl arg) void
ASMByteCodeVisitor.classGeneratorBeforeInitializer
(ClassGeneratorImpl arg) void
ASMSetupVisitor.classGeneratorBeforeInitializer
(ClassGeneratorImpl arg) void
NopVisitor.classGeneratorBeforeInitializer
(ClassGeneratorImpl arg) void
SourceStatementVisitor.classGeneratorBeforeInitializer
(ClassGeneratorImpl arg) void
TreeWalker.classGeneratorBeforeInitializer
(ClassGeneratorImpl arg) void
ASMByteCodeVisitor.classGeneratorBeforeMethod
(ClassGeneratorImpl arg) void
ASMSetupVisitor.classGeneratorBeforeMethod
(ClassGeneratorImpl arg) void
NopVisitor.classGeneratorBeforeMethod
(ClassGeneratorImpl arg) void
SourceStatementVisitor.classGeneratorBeforeMethod
(ClassGeneratorImpl arg) void
TreeWalker.classGeneratorBeforeMethod
(ClassGeneratorImpl arg) static byte[]
ASMUtil.generate
(ClassLoader cl, ClassGeneratorImpl cg, ImportList imports, Properties options, PrintStream debugOutput) Given a completed ClassGeneratorImpl, use ASM to construct the byte array representing the compiled class.static byte[]
CodeGenerator.generateBytecode
(ClassGeneratorImpl cg, ClassLoader cl, ImportList imports, Properties options, PrintStream debugOutput) Convert the Java class or interface defined by ClassGeneratorImpl into an array of bytecodes.static void
ASMUtil.generateSourceCode
(PrintStream ps, ClassGeneratorImpl cg, ImportList imports, Properties options) static void
ASMUtil.generateSourceCode
(String sourceGenDir, ClassGeneratorImpl cg, ImportList imports, Properties options) static void
CodeGenerator.generateSourceCode
(PrintStream ps, ClassGeneratorImpl cg, ImportList imports, Properties options) Write a source code representation of the class or interface defined by cg to the PrintStream ps.static void
CodeGenerator.generateSourceCode
(String sdir, ClassGeneratorImpl cg, ImportList imports, Properties options) Write a source code representation of the class or interface defined by cg to a file in the SOURCE_GENERATION_DIRECTORY specified in options.void
ASMByteCodeVisitor.postClassGenerator
(ClassGeneratorImpl arg) void
ASMSetupVisitor.postClassGenerator
(ClassGeneratorImpl arg) void
NopVisitor.postClassGenerator
(ClassGeneratorImpl arg) void
SourceStatementVisitor.postClassGenerator
(ClassGeneratorImpl arg) void
TreeWalker.postClassGenerator
(ClassGeneratorImpl arg) boolean
ASMByteCodeVisitor.preClassGenerator
(ClassGeneratorImpl arg) boolean
ASMSetupVisitor.preClassGenerator
(ClassGeneratorImpl arg) boolean
NopVisitor.preClassGenerator
(ClassGeneratorImpl arg) boolean
SourceStatementVisitor.preClassGenerator
(ClassGeneratorImpl arg) boolean
TreeWalker.preClassGenerator
(ClassGeneratorImpl arg) void
TreeWalker.visitClassGenerator
(ClassGeneratorImpl arg) void
Visitor.visitClassGenerator
(ClassGeneratorImpl arg) Constructors in org.glassfish.pfl.dynamic.codegen.impl with parameters of type ClassGeneratorImplModifierConstructorDescriptionByteCodeUtility
(org.objectweb.asm.ClassWriter cw, ClassGeneratorImpl cg) ByteCodeUtility
(org.objectweb.asm.ClassWriter cw, ClassGeneratorImpl cg, boolean debug, PrintStream ps) Construct an instance of ByteCodeUtility from an ASM ClassWriter and a codegen ClassGeneratorImpl.FieldGenerator
(ClassGeneratorImpl cinfo, int modifiers, Type type, String ident) (package private)
MethodGenerator
(ClassGeneratorImpl parent, int modifiers, List<Type> exceptions) Construct a MethodGenerator that represents a constructor.(package private)
MethodGenerator
(ClassGeneratorImpl parent, int modifiers, Type rtype, String name, List<Type> exceptions) Construct a MethodGenerator that represents a method. -
Uses of ClassGeneratorImpl in org.glassfish.pfl.dynamic.codegen.spi
Fields in org.glassfish.pfl.dynamic.codegen.spi declared as ClassGeneratorImplModifier and TypeFieldDescriptionprivate final ClassGeneratorImpl
Wrapper.ClassContext.cg
private ClassGeneratorImpl
Wrapper.Environment.root
Methods in org.glassfish.pfl.dynamic.codegen.spi that return ClassGeneratorImplModifier and TypeMethodDescription(package private) ClassGeneratorImpl
Wrapper.Environment.classGenerator()
Constructors in org.glassfish.pfl.dynamic.codegen.spi with parameters of type ClassGeneratorImplModifierConstructorDescription(package private)
ClassContext
(Stack<Wrapper.Context> contexts, ClassGeneratorImpl cg)