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 ClassGeneratorImplCodeGenerator.defineClass(int modifiers, String name, Type superType, List<Type> impls) Define a ClassGeneratorImpl for a class.static ClassGeneratorImplCodeGenerator.defineInterface(int modifiers, String name, List<Type> impls) Define a ClassGeneratorImpl for an interface.Methods in org.glassfish.pfl.dynamic.codegen.impl with parameters of type ClassGeneratorImplModifier and TypeMethodDescriptionvoidASMByteCodeVisitor.classGeneratorBeforeConstructor(ClassGeneratorImpl arg) voidASMSetupVisitor.classGeneratorBeforeConstructor(ClassGeneratorImpl arg) voidNopVisitor.classGeneratorBeforeConstructor(ClassGeneratorImpl arg) voidSourceStatementVisitor.classGeneratorBeforeConstructor(ClassGeneratorImpl arg) voidTreeWalker.classGeneratorBeforeConstructor(ClassGeneratorImpl arg) booleanASMByteCodeVisitor.classGeneratorBeforeFields(ClassGeneratorImpl arg) booleanASMSetupVisitor.classGeneratorBeforeFields(ClassGeneratorImpl arg) booleanNopVisitor.classGeneratorBeforeFields(ClassGeneratorImpl arg) booleanSourceStatementVisitor.classGeneratorBeforeFields(ClassGeneratorImpl arg) booleanTreeWalker.classGeneratorBeforeFields(ClassGeneratorImpl arg) voidASMByteCodeVisitor.classGeneratorBeforeInitializer(ClassGeneratorImpl arg) voidASMSetupVisitor.classGeneratorBeforeInitializer(ClassGeneratorImpl arg) voidNopVisitor.classGeneratorBeforeInitializer(ClassGeneratorImpl arg) voidSourceStatementVisitor.classGeneratorBeforeInitializer(ClassGeneratorImpl arg) voidTreeWalker.classGeneratorBeforeInitializer(ClassGeneratorImpl arg) voidASMByteCodeVisitor.classGeneratorBeforeMethod(ClassGeneratorImpl arg) voidASMSetupVisitor.classGeneratorBeforeMethod(ClassGeneratorImpl arg) voidNopVisitor.classGeneratorBeforeMethod(ClassGeneratorImpl arg) voidSourceStatementVisitor.classGeneratorBeforeMethod(ClassGeneratorImpl arg) voidTreeWalker.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 voidASMUtil.generateSourceCode(PrintStream ps, ClassGeneratorImpl cg, ImportList imports, Properties options) static voidASMUtil.generateSourceCode(String sourceGenDir, ClassGeneratorImpl cg, ImportList imports, Properties options) static voidCodeGenerator.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 voidCodeGenerator.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.voidASMByteCodeVisitor.postClassGenerator(ClassGeneratorImpl arg) voidASMSetupVisitor.postClassGenerator(ClassGeneratorImpl arg) voidNopVisitor.postClassGenerator(ClassGeneratorImpl arg) voidSourceStatementVisitor.postClassGenerator(ClassGeneratorImpl arg) voidTreeWalker.postClassGenerator(ClassGeneratorImpl arg) booleanASMByteCodeVisitor.preClassGenerator(ClassGeneratorImpl arg) booleanASMSetupVisitor.preClassGenerator(ClassGeneratorImpl arg) booleanNopVisitor.preClassGenerator(ClassGeneratorImpl arg) booleanSourceStatementVisitor.preClassGenerator(ClassGeneratorImpl arg) booleanTreeWalker.preClassGenerator(ClassGeneratorImpl arg) voidTreeWalker.visitClassGenerator(ClassGeneratorImpl arg) voidVisitor.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)