| Package | Description |
|---|---|
| org.glassfish.pfl.dynamic.codegen.impl | |
| org.glassfish.pfl.dynamic.codegen.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassGeneratorImpl
Class used to generate a description of a class or interface.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassGenerator |
Wrapper._classGenerator()
Obtain the ClassGeneratorImpl that is constructed by the Wrapper
methods.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Wrapper._byteCode(ClassGenerator cgen,
ClassLoader cl,
Properties options)
Generate byte codes for the ClassGenerator.
|
static Type |
Type._classGenerator(ClassGenerator cg) |
static void |
Wrapper._displayAST(ClassGenerator cg,
PrintStream ps)
Dump the contents of the AST for the current Class defined
by Wrapper calls.
|
static <T> GenericClass<T> |
Wrapper._generate(ClassGenerator cg,
Class<T> cls,
Properties props)
Return a GenericClass instance so that we can easily create an instance
of the generated class.
|
static Class<?> |
Wrapper._generate(ClassGenerator cg,
ClassLoader cl,
ProtectionDomain pd,
Properties props)
Generate a class for the current ClassGenerator.
|
static Class<?> |
Wrapper._generate(ClassGenerator cg,
ClassLoader cl,
ProtectionDomain pd,
Properties props,
PrintStream debugOutput)
Generate a class for the ClassGenerator.
|
static void |
Wrapper._sourceCode(ClassGenerator cg,
PrintStream ps,
Properties options)
Generate the Java source code for the ClassGenerator.
|
static void |
Wrapper._sourceCode(ClassGenerator cg,
Properties options)
Generate source code into a specified output directory.
|
Copyright © 2017 Oracle. All rights reserved.