- CachingClassCopierFactory - Interface in org.glassfish.pfl.dynamic.copyobject.impl
-
A version of a ClassCopierFactory that implements caching, and so
needs a way to update the cache.
- call(Expression, String, Signature, List<Expression>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
Construct a representation of a non-static method invocation.
- call(Expression, String, List<Expression>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
- callEmitter(EmitterFactory.Emitter) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ByteCodeUtility
-
- cannotCopyClass(Class<?>) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- cannotCopyInterface(Class<?>) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- CaseBranch - Class in org.glassfish.pfl.dynamic.codegen.impl
-
- caseBranchBeforeBodyStatement(CaseBranch) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMByteCodeVisitor
-
- caseBranchBeforeBodyStatement(CaseBranch) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NopVisitor
-
- caseBranchBeforeBodyStatement(CaseBranch) - Method in class org.glassfish.pfl.dynamic.codegen.impl.SourceStatementVisitor
-
- caseBranchBeforeBodyStatement(CaseBranch) - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- cases() - Method in class org.glassfish.pfl.dynamic.codegen.impl.SwitchStatement
-
- cast(Type, Expression) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- catches() - Method in class org.glassfish.pfl.dynamic.codegen.impl.TryStatement
-
- CCB_START - Static variable in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- CCFPI_START - Static variable in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- CCOI_START - Static variable in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- checkCompatibility(Type, String, List<Expression>) - Method in class org.glassfish.pfl.dynamic.codegen.spi.Signature
-
Check whether the list of expression in args is statically
compatible with this Signature.
- checkConstructorCompatibility(Type, List<Expression>) - Method in class org.glassfish.pfl.dynamic.codegen.spi.Signature
-
Check whether the list of expression in args is statically
compatible with this Signature.
- checkScope(ExpressionInternal) - Static method in class org.glassfish.pfl.dynamic.codegen.impl.Util
-
Throw an exception if any ExpressionInternal reachable
from expr contains a Variable that is out of scope.
- checkStaticCompatibility(Type, String, List<Expression>) - Method in class org.glassfish.pfl.dynamic.codegen.spi.Signature
-
Check whether the list of expression in args is statically
compatible with this Signature.
- checkTree(Node, PrintStream) - Static method in class org.glassfish.pfl.dynamic.codegen.impl.Util
-
Check that node is really a tree, that is, when we traverse it
with the visitor, we never encounter the same node twice.
- checkType(Expression) - Method in enum org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.UnaryOperator
-
- CLASS_GENERATION_DIRECTORY - Static variable in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Set this to enable dumping the generated byte codes to a
class file in the given directory.
- ClassCopier - Interface in org.glassfish.pfl.dynamic.copyobject.impl
-
Provides deep copying of one specific class.
- ClassCopierBase - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
A convenient base class for making ClassCopier types.
- ClassCopierBase(String) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
-
Pass a name here that can be used for toString, hashCode, and equals.
- ClassCopierBase(String, boolean) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
-
- ClassCopierFactory - Interface in org.glassfish.pfl.dynamic.copyobject.impl
-
A factory used for creating ClassCopier instances.
- ClassCopierFactoryArrayImpl - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
A factory used for creating ClassCopier instances.
- ClassCopierFactoryArrayImpl(ClassCopierFactory) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactoryArrayImpl
-
- ClassCopierFactoryPipelineImpl - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
A factory used for creating ClassCopier instances.
- ClassCopierFactoryPipelineImpl() - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierFactoryPipelineImpl
-
- ClassCopierOrdinaryImpl - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
- ClassCopierOrdinaryImpl(PipelineClassCopierFactory, Class<?>) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl
-
- ClassCopierOrdinaryImpl.ClassFieldCopier - Interface in org.glassfish.pfl.dynamic.copyobject.impl
-
- ClassGenerator - Interface in org.glassfish.pfl.dynamic.codegen.spi
-
Represents a generated AST, which can be used to generate code.
- classGeneratorBeforeConstructor(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMByteCodeVisitor
-
- classGeneratorBeforeConstructor(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMSetupVisitor
-
- classGeneratorBeforeConstructor(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NopVisitor
-
- classGeneratorBeforeConstructor(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.SourceStatementVisitor
-
- classGeneratorBeforeConstructor(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- classGeneratorBeforeFields(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMByteCodeVisitor
-
- classGeneratorBeforeFields(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMSetupVisitor
-
- classGeneratorBeforeFields(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NopVisitor
-
- classGeneratorBeforeFields(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.SourceStatementVisitor
-
- classGeneratorBeforeFields(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- classGeneratorBeforeInitializer(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMByteCodeVisitor
-
- classGeneratorBeforeInitializer(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMSetupVisitor
-
- classGeneratorBeforeInitializer(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NopVisitor
-
- classGeneratorBeforeInitializer(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.SourceStatementVisitor
-
- classGeneratorBeforeInitializer(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- classGeneratorBeforeMethod(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMByteCodeVisitor
-
- classGeneratorBeforeMethod(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ASMSetupVisitor
-
- classGeneratorBeforeMethod(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NopVisitor
-
- classGeneratorBeforeMethod(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.SourceStatementVisitor
-
- classGeneratorBeforeMethod(ClassGeneratorImpl) - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- ClassGeneratorImpl - Class in org.glassfish.pfl.dynamic.codegen.impl
-
Class used to generate a description of a class or interface.
- ClassInfo - Interface in org.glassfish.pfl.dynamic.codegen.spi
-
An interface that provides information about classes.
- classInfo() - Method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- ClassInfoBase - Class in org.glassfish.pfl.dynamic.codegen.impl
-
- ClassInfoBase(int, Type) - Constructor for class org.glassfish.pfl.dynamic.codegen.impl.ClassInfoBase
-
Construct a ClassInfoBase representing a class or interface.
- ClassInfoReflectiveImpl - Class in org.glassfish.pfl.dynamic.codegen.impl
-
- ClassInfoReflectiveImpl(Type) - Constructor for class org.glassfish.pfl.dynamic.codegen.impl.ClassInfoReflectiveImpl
-
- className() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassInfoBase
-
- className() - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ClassInfo
-
Return the class name of the class represented by this
ClassInfo relative to pkgName().
- className() - Method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- clearCaches() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
This method is only intended for internal use.
- clearHashCode() - Method in class org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase
-
- close() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.VariableImpl
-
- close(Node) - Static method in class org.glassfish.pfl.dynamic.codegen.impl.Util
-
Make sure that all variables reachable from node
are marked not available, indicating that they are
no longer in scope.
- close() - Method in interface org.glassfish.pfl.dynamic.codegen.impl.VariableInternal
-
Mark the variable so that it is no longer in scope.
- CodegenCopierBase - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
Base class for generated class copiers.
- CodegenCopierBase(PipelineClassCopierFactory) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- CodegenCopierGenerator - Class in org.glassfish.pfl.dynamic.copyobject.impl
-
Experimental class that generates a ClassFieldCopier using the codegen library.
- CodegenCopierGenerator(String, Class<?>) - Constructor for class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierGenerator
-
- CodeGenerator - Class in org.glassfish.pfl.dynamic.codegen.impl
-
Class used to define classes and interfaces, and to generator source or
byte code from the resulting definitions.
- CodeGeneratorUtil - Class in org.glassfish.pfl.dynamic.codegen.impl
-
Class used to get a class directly from code generated by
a runtime code generator.
- CodegenPrinter - Class in org.glassfish.pfl.dynamic.codegen.impl
-
Extends the file utility Printer with line numbers that are
also optionally stored as Attributes in Nodes for annotating the AST.
- CodegenPrinter(PrintStream) - Constructor for class org.glassfish.pfl.dynamic.codegen.impl.CodegenPrinter
-
- CodegenPrinter(PrintStream, int, char) - Constructor for class org.glassfish.pfl.dynamic.codegen.impl.CodegenPrinter
-
- complete() - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ModifiableFieldReference
-
Mark the end of the code generation to replace the field
reference.
- condition() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.IfExpression
-
- condition() - Method in class org.glassfish.pfl.dynamic.codegen.impl.IfStatement
-
- condition() - Method in class org.glassfish.pfl.dynamic.codegen.impl.WhileStatement
-
- CONSTRUCTOR_METHOD_NAME - Static variable in class org.glassfish.pfl.dynamic.codegen.impl.CodeGeneratorUtil
-
- constructorInfo() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassGeneratorImpl
-
- constructorInfo() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassInfoBase
-
- constructorInfo() - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ClassInfo
-
- constructors() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassGeneratorImpl
-
- contains(String) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ImportListImpl
-
Return whether or not this Type is in the imports.
- contains(Type) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ImportListImpl
-
- contains(String) - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ImportList
-
Return whether or not this Type is in the imports.
- contains(Type) - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ImportList
-
- context - Variable in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalker
-
- copy(Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassGeneratorImpl
-
- copy(Node, Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ClassGeneratorImpl
-
- copy(Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
-
- copy(Node, Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.ExpressionBase
-
- copy(Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.FieldGenerator
-
- copy(Node, Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.FieldGenerator
-
- copy() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ImportListImpl
-
- copy(Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.MethodGenerator
-
- copy(Node, Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.MethodGenerator
-
- copy(Class<T>) - Method in interface org.glassfish.pfl.dynamic.codegen.impl.Node
-
Make a deep copy of this node.
- copy(Node, Class<T>) - Method in interface org.glassfish.pfl.dynamic.codegen.impl.Node
-
Copy setting a new parent in the result.
- copy(Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NodeBase
-
- copy(Node, Class<T>) - Method in class org.glassfish.pfl.dynamic.codegen.impl.NodeBase
-
- copy() - Method in interface org.glassfish.pfl.dynamic.codegen.spi.ImportList
-
Return a copy of this ImportList.
- copy(Map<Object, Object>, Object) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.ClassCopier
-
Produce a deep copy of source, recursively copying all
of its constituents.
- copy(Map<Object, Object>, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
-
Make the actual copy of source, using oldToNew to preserve aliasing.
- copy(Map<Object, Object>, Object, Object) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl.ClassFieldCopier
-
Copy all fields from src to dest, using
oldToNew as usual to preserve aliasing.
- copy(Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.FallbackObjectCopierImpl
-
- copy(Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.JavaStreamObjectCopierImpl
-
- copy(Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.ObjectCopierImpl
-
Return a deep copy of obj.
- Copy - Annotation Type in org.glassfish.pfl.dynamic.copyobject.spi
-
Annotation used on fields to indicate how they should be copied,
according to the value of CopyType.
- copy(Object) - Static method in class org.glassfish.pfl.dynamic.copyobject.spi.DefaultCopier
-
- copy(T, Class<T>) - Static method in class org.glassfish.pfl.dynamic.copyobject.spi.DefaultCopier
-
- copy(Object) - Method in interface org.glassfish.pfl.dynamic.copyobject.spi.ObjectCopier
-
copy the object.
- copyBoolean(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyByte(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyChar(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyDouble(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyFloat(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyInt(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- CopyInterceptor - Interface in org.glassfish.pfl.dynamic.copyobject.spi
-
Interface used to control copyobject behavior.
- copyLong(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- copyObject(Map<Object, Object>, long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- CopyobjectDefaults - Class in org.glassfish.pfl.dynamic.copyobject.spi
-
- copyShort(long, Object, Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierBase
-
- CopyType - Enum in org.glassfish.pfl.dynamic.copyobject.spi
-
Enum used with Copy annotation on fields to indicate
special handling by the object copier.
- couldNotCopy(Object, ReflectiveCopyException) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- couldNotFindClassCopier(Class<?>) - Method in interface org.glassfish.pfl.dynamic.copyobject.impl.Exceptions
-
- create(ExpressionFactory, Expression, Expression) - Method in enum org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.BinaryOperator
-
- create(Object...) - Method in class org.glassfish.pfl.dynamic.codegen.spi.GenericClass
-
Create an instance of type T using the constructor that
matches the given arguments if possible.
- create(ProtectionDomain, ClassLoader) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.CodegenCopierGenerator
-
- createCopy(Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierBase
-
Create a copy of source.
- createCopy(Object) - Method in class org.glassfish.pfl.dynamic.copyobject.impl.ClassCopierOrdinaryImpl
-
- ctype() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.NewArrExpression
-
- current() - Method in class org.glassfish.pfl.dynamic.codegen.impl.TreeWalkerContext
-
- CurrentClassLoader - Class in org.glassfish.pfl.dynamic.codegen.impl
-
Class used to set and get the global class loader used
by the codegen library.
- CurrentClassLoader() - Constructor for class org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader
-
- _add(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
- _and(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
&& operator to the left and right expressions in the
form (left op right).
- _arg(Type, String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Add an argument to the current method.
- _array(Type) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _array(Type) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the array type with the
given component type.
- _assign(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates an assignment statement of the form var = expr.
- _body() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates the start of the definition of the body of a method.
- _boolean() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _boolean() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the boolean type.
- _break() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates a break statement, that should transfer control out of the
nearest enclosing _switch or _while statement.
- _byte() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _byte() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the byte type.
- _byteCode(ClassLoader, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate byte codes for the current ClassGenerator.
- _byteCode(ClassGenerator, ClassLoader, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate byte codes for the ClassGenerator.
- _call(Expression, String, Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method.
- _call(Expression, String, Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method.
- _call(Expression, String, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
- _call(Expression, String, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
- _call(Type, String, Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to a static method.
- _call(Type, String, Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to a static method.
- _call(Type, String, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
- _call(Type, String, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
- _case(int) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a particular case in a switch
statement.
- _cast(Type, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the type cast of expr
to type.
- _catch(Type, String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a catch clause in a try statement.
- _char() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _char() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the char type.
- _class(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
Return a codegen Type representing a class with the given name.
- _Class() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _Class() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the java.lang.Class type.
- _class(int, String, Type, Type...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Define a class.
- _class(int, String, Type, List<Type>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Define a class.
- _classGenerator(ClassGenerator) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _classGenerator() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Obtain the ClassGeneratorImpl that is constructed by the Wrapper
methods.
- _clear() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Discard the current Class generated by Wrapper calls, so that
another Class may be generated.
- _Cloneable() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _const(boolean) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(char) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(byte) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(short) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(int) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(long) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(float) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(double) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(String) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(Type) - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _const(boolean) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(char) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(byte) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(short) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(int) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(long) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(float) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(double) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _const(Type) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a constant expression representing the
value c.
- _constructor(int, Type...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Begin defining a constructor in the current class.
- _constructor(int, List<Type>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Begin defining a constructor in the current class.
- _data(int, Type, String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Define a data member in a class.
- _default() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of the default case in a switch
statement.
- _define(Type, String, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates the introduction of a new local variable initialized to
the given expression.
- _displayAST(PrintStream) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Dump the contents of the AST for the current Class defined
by Wrapper calls.
- _displayAST(ClassGenerator, PrintStream) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Dump the contents of the AST for the current Class defined
by Wrapper calls.
- _div(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
- _double() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _double() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the double type.
- _else() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of the false branch of an if statement.
- _end() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Terminates the definition of the current statement, method,
constructor, initializer, class, or package.
- _eq(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
== operator to the left and right expressions in the
form (left op right).
- _expr(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate that expr should be executed as a statement for its
side effects.
- _field(Expression, String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an expression used to access a field in an object
given by expr.
- _field(Type, String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an expression used to access a static data member in
a class given by the type.
- _finally() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a finally clause in a try statement.
- _float() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _float() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the float type.
- _ge(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
>= operator to the left and right expressions in the
form (left op right).
- _generate(ClassLoader, ProtectionDomain, Properties, PrintStream) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a class for the current ClassGenerator.
- _generate(ClassGenerator, ClassLoader, ProtectionDomain, Properties, PrintStream) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a class for the ClassGenerator.
- _generate(ClassLoader, ProtectionDomain, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a class for the current ClassGenerator.
- _generate(ClassGenerator, ClassLoader, ProtectionDomain, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a class for the current ClassGenerator.
- _generate(Class<T>, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a GenericClass instance so that we can easily create an instance
of the generated class.
- _generate(ClassGenerator, Class<T>, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a GenericClass instance so that we can easily create an instance
of the generated class.
- _gt(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
> operator to the left and right expressions in the
form (left op right).
- _if(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of an if statement with the given expression
as the condition.
- _import(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Used to create short names for types.
- _import() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an ImportList that can be shared across multiple
class generations.
- _import(ImportList) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Set the ImportList for the current class generation.
- _index(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an expression used to access an element in an array
given by expr.
- _initializer() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
- _instanceof(Expression, Type) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the instanceof test of
expr and type (expr instanceof type).
- _int() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _int() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the int type.
- _interface(int, String, Type...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Define an interface.
- _interface(int, String, List<Type>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Define an interface.
- _le(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
<= operator to the left and right expressions in the
form (left op right).
- _length(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an expression that gets the length of expr.
- _long() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _long() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the long type.
- _lt(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
< operator to the left and right expressions in the
form (left op right).
- _makeClass(byte[], String, ClassLoader, ProtectionDomain) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Convert an array of bytes into a Class using the given
ClassLoader and ProtectionDomain.
- _method(int, Type, String, Type...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Begin defining a method in the current class.
- _method(int, Type, String, List<Type>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Begin defining a method in the current class.
- _mul(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
- _ne(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
!= operator to the left and right expressions in the
form (left op right).
- _new(Type, Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
- _new(Type, Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
- _new(Type, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
- _new(Type, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
- _new_array(Type, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new array of the given size with the given component type.
- _new_array_init(Type, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
- _new_array_init(Type, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
- _not(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
- _null() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _null() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _null() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return the null expression.
- _nullType() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the null type.
- _Object() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _Object() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the java.lang.Object type.
- _or(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
|| operator to the left and right expressions in the
form (left op right).
- _package(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
_package must be called first to set the package name for this
class.
- _package() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Same as _package( "" ).
- _rem(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
- _return() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates the end of execution in a method.
- _return(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates the end of execution in a method with a return of the
value of the expression.
- _s(Type, Type...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create a signature that may be used for calling a method or
constructor.
- _s(Type, List<Type>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create a signature that may be used for calling a method or
constructor.
- _setClassLoader(ClassLoader) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Set the ClassLoader for this thread that will be used for validating
references to pre-existing classes from generated code.
- _short() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _short() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the short type.
- _sourceCode(PrintStream, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate the Java source code for the current Class defined by
Wrapper calls.
- _sourceCode(ClassGenerator, PrintStream, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate the Java source code for the ClassGenerator.
- _sourceCode(Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate source code into a specified output directory.
- _sourceCode(ClassGenerator, Properties) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate source code into a specified output directory.
- _String() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _String() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the java.lang.String type.
- _sub(Expression, Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
- _super(String, Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method in the current super
class.
- _super(String, Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method in the current super
class.
- _super(String, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
- _super(String, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
- _super(Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke a superclass constructor as the first statement
in a constructor for a class.
- _super(Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke a superclass constructor as the first statement
in a constructor for a class.
- _super(List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
- _super(Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
- _switch(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a switch statement with the given
expression at the switch expression.
- _t(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return the reference type for the given class name.
- _this() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _this(Signature, Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke another constructor as the first statement
in a constructor for a class.
- _this(Signature, List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke another constructor as the first statement
in a constructor for a class.
- _this(Expression...) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
- _this(List<Expression>) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
- _this() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return an expression representing "this".
- _thisClass() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return the type of the current class.
- _throw(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicates a throw statement that throws the given expression.
- _try() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a try statement.
- _v(String) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Construct the expression that refers to
the variable named name.
- _void() - Method in class org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory
-
- _void() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Type
-
- _void() - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Return a representation of the void type.
- _while(Expression) - Static method in class org.glassfish.pfl.dynamic.codegen.spi.Wrapper
-
Indicate the start of a while loop with the given
expression as its condition.