Package org.glassfish.pfl.dynamic.codegen.impl

Interface Summary
AttributedObject The interface that an Object must implement in order to support Attributes.
EmitterFactory.Emitter Simple wrapper class around a UnaryVoidFunction.
ExpressionInternal  
Node Represents a node in the AST used to generate code.
Statement  
VariableInternal  
Visitor  
 

Class Summary
ASMByteCodeVisitor Visitor that is used to generate byte code for a class.
ASMSetupVisitor Visitor that can prepare an AST for bytecode generation, or verify that an AST has been correctly prepared.
ASMSetupVisitor.ErrorReport Class used to represnt an AST verification error
ASMUtil Simple class containing a few ASM-related utilities and dynamic attributes needs for the byte code generator.
ASMUtil.LineNumberTable  
ASMUtil.VariablesInMethod  
AssignmentStatement  
Attribute<T> Class used to define dynamic attributes on AttributedObject instances.
AttributedObjectBase An implementation of the AttributedObject interface.
BlockStatement Main factory for creating statements.
BreakStatement  
ByteCodeUtility Class that is responsible for low-level bytecode generation using ASM.
CaseBranch  
ClassGeneratorImpl Class used to generate a description of a class or interface.
ClassInfoBase  
ClassInfoReflectiveImpl  
CodeGenerator Class used to define classes and interfaces, and to generator source or byte code from the resulting definitions.
CodeGeneratorUtil Class used to get a class directly from code generated by a runtime code generator.
CodegenPrinter Extends the file utility Printer with line numbers that are also optionally stored as Attributes in Nodes for annotating the AST.
CurrentClassLoader Class used to set and get the global class loader used by the codegen library.
DefinitionStatement  
EmitterFactory This class provides methods that allow the construction of an object that can later be used to emit a bytecode.
EmitterFactory.CompoundEmitter  
EmitterFactory.NullEmitter  
EmitterFactory.SimpleEmitter  
ExpressionFactory Used to create all expressions.
ExpressionFactory.ArrayIndexExpression  
ExpressionFactory.ArrayLengthExpression  
ExpressionFactory.BinaryOperatorExpression  
ExpressionFactory.CallExpression<T> Representation of any sort of method call other than a constructor invocation.
ExpressionFactory.CastExpression  
ExpressionFactory.ConstantExpression Class that represents a constant value of any primitive type, a String, or a Class.
ExpressionFactory.ExpressionBase  
ExpressionFactory.FieldAccessExpressionBase<T>  
ExpressionFactory.IfExpression  
ExpressionFactory.InstofExpression  
ExpressionFactory.NewArrExpression  
ExpressionFactory.NewObjExpression  
ExpressionFactory.NonStaticCallExpression  
ExpressionFactory.NonStaticFieldAccessExpression  
ExpressionFactory.StaticCallExpression  
ExpressionFactory.StaticFieldAccessExpression  
ExpressionFactory.SuperCallExpression  
ExpressionFactory.SuperObjExpression  
ExpressionFactory.ThisExpression Class used to represent the current object ("this" in java).
ExpressionFactory.ThisObjExpression  
ExpressionFactory.UnaryOperatorExpression Representation of the application of a UnaryOperator to an Expression.
ExpressionFactory.VariableImpl  
ExpressionFactory.VoidExpression Class that represents a void expression.
FieldGenerator  
FieldInfoImpl  
Identifier Some utilities for dealing with Java identifiers.
IfStatement  
ImportListImpl  
MemberInfoBase  
MethodGenerator  
MethodInfoBase  
MethodInfoReflectiveImpl Implementation of MethodInfo interface for actual Method.
MyLabel This trivial class exists only to give a slightly more readable toString method for ASM labels.
NodeBase Base class for implementing various kinds of Nodes in the AST.
NopVisitor This is a visitor that does nothing.
ReturnStatement  
SourceExpressionVisitor A Visitor that generates Java source for an expression.
SourceStatementVisitor  
StatementBase  
SwitchStatement  
ThrowStatement  
TreeWalker This is a general purpose utility that does a complete traversal of a Node tree.
TreeWalkerContext  
TryStatement  
Util  
WhileStatement  
 

Enum Summary
ASMSetupVisitor.Mode  
ASMUtil.RequiredEmitterType  
ExpressionFactory.BinaryOperator Representation of binary operators.
ExpressionFactory.BinaryOperatorKind  
ExpressionFactory.UnaryOperator Operators that apply to a single expression.
 



Copyright © 2013 Oracle. All Rights Reserved.