| Package | Description |
|---|---|
| org.glassfish.pfl.dynamic.codegen.impl | |
| org.glassfish.pfl.dynamic.codegen.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
ImportListImpl |
| Modifier and Type | Method and Description |
|---|---|
ImportList |
ImportListImpl.copy() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
ASMUtil.generateSourceCode(PrintStream ps,
ClassGeneratorImpl cg,
ImportList imports,
Properties options) |
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.
|
static void |
ASMUtil.generateSourceCode(String sourceGenDir,
ClassGeneratorImpl cg,
ImportList imports,
Properties options) |
| Constructor and Description |
|---|
SourceExpressionVisitor(TreeWalkerContext context,
ImportList imports) |
SourceStatementVisitor(TreeWalkerContext context,
ImportList imports,
CodegenPrinter pr) |
| Modifier and Type | Method and Description |
|---|---|
static ImportList |
Wrapper._import()
Return an ImportList that can be shared across multiple
class generations.
|
ImportList |
ImportList.copy()
Return a copy of this ImportList.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Wrapper._import(ImportList ilist)
Set the ImportList for the current class generation.
|
Copyright © 2011–2018 Eclipse Foundation. All rights reserved.