Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute | |
org.cojen.classfile.constant | |
org.cojen.util |
Modifier and Type | Field and Description |
---|---|
static TypeDesc |
TypeDesc.BOOLEAN
Primitive type boolean
|
static TypeDesc |
TypeDesc.BYTE
Primitive type byte
|
static TypeDesc |
TypeDesc.CHAR
Primitive type char
|
static TypeDesc |
TypeDesc.DOUBLE
Primitive type double
|
static TypeDesc |
TypeDesc.FLOAT
Primitive type float
|
static TypeDesc |
TypeDesc.INT
Primitive type int
|
static TypeDesc |
TypeDesc.LONG
Primitive type long
|
static TypeDesc |
TypeDesc.OBJECT
Object type java.lang.Object, provided for convenience
|
static TypeDesc |
TypeDesc.SHORT
Primitive type short
|
static TypeDesc |
TypeDesc.STRING
Object type java.lang.String, provided for convenience
|
static TypeDesc |
TypeDesc.VOID
Primitive type void
|
Modifier and Type | Method and Description |
---|---|
static TypeDesc |
TypeDesc.forClass(Class clazz)
Acquire a TypeDesc from any class, including primitives and arrays.
|
static TypeDesc |
TypeDesc.forClass(String name)
Acquire a TypeDesc from any class name, including primitives and arrays.
|
static TypeDesc |
TypeDesc.forDescriptor(String desc)
Acquire a TypeDesc from a type descriptor.
|
abstract TypeDesc |
TypeDesc.getComponentType()
Returns the component type of this array type.
|
TypeDesc[] |
MethodInfo.getExceptions()
Returns the exceptions that this method is declared to throw.
|
TypeDesc[] |
MethodDeclarationParser.getParameters() |
TypeDesc[] |
MethodDesc.getParameterTypes() |
TypeDesc |
MethodDesc.getReturnType()
Returns the described return type, which is TypeDesc.VOID if void.
|
TypeDesc |
MethodDeclarationParser.getReturnType() |
abstract TypeDesc |
TypeDesc.getRootComponentType()
Returns the root component type of this array type.
|
TypeDesc |
LocalVariable.getType() |
TypeDesc |
FieldInfo.getType()
Returns the type of this field.
|
TypeDesc |
ClassFile.getType()
Returns a TypeDesc for the type of this ClassFile.
|
abstract TypeDesc |
TypeDesc.toArrayType()
Convertes this type to an array type.
|
abstract TypeDesc |
TypeDesc.toObjectType()
Returns the object peer of this primitive type.
|
abstract TypeDesc |
TypeDesc.toPrimitiveType()
Returns the primitive peer of this object type, if one exists.
|
Modifier and Type | Method and Description |
---|---|
ConstantClassInfo |
ConstantPool.addConstantClass(TypeDesc type)
Get or create a constant from the constant pool representing a class.
|
ConstantMethodInfo |
ConstantPool.addConstantConstructor(String className,
TypeDesc[] params)
Get or create a constant from the constant pool representing a
constructor in any class.
|
ConstantFieldInfo |
ConstantPool.addConstantField(String className,
String fieldName,
TypeDesc type)
Get or create a constant from the constant pool representing a field in
any class.
|
ConstantInterfaceMethodInfo |
ConstantPool.addConstantInterfaceMethod(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Get or create a constant from the constant pool representing an
interface method in any interface.
|
ConstantInterfaceMethodInfo |
ConstantPool.addConstantInterfaceMethod(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Get or create a constant from the constant pool representing an
interface method in any interface.
|
ConstantMethodInfo |
ConstantPool.addConstantMethod(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Get or create a constant from the constant pool representing a method
in any class.
|
ConstantMethodInfo |
ConstantPool.addConstantMethod(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Get or create a constant from the constant pool representing a method
in any class.
|
MethodInfo |
ClassFile.addConstructor(Modifiers modifiers,
TypeDesc[] params)
Add a constructor to this class.
|
void |
MethodInfo.addException(TypeDesc type)
Add a declared exception that this method may throw.
|
FieldInfo |
ClassFile.addField(Modifiers modifiers,
String fieldName,
TypeDesc type)
Add a field to this class.
|
MethodInfo |
ClassFile.addMethod(Modifiers modifiers,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Add a method to this class.
|
MethodInfo |
ClassFile.addMethod(Modifiers modifiers,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Add a method to this class.
|
Annotation |
MethodInfo.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
FieldInfo.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
ClassFile.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
MethodInfo.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
Annotation |
FieldInfo.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
Annotation |
ClassFile.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
void |
NullCodeAssembler.checkCast(TypeDesc type) |
void |
DelegatedCodeAssembler.checkCast(TypeDesc type) |
void |
CodeBuilder.checkCast(TypeDesc type) |
void |
CodeAssemblerPrinter.checkCast(TypeDesc type) |
void |
CodeAssembler.checkCast(TypeDesc type)
Generates code that performs an object cast operation.
|
void |
NullCodeAssembler.convert(TypeDesc fromType,
TypeDesc toType) |
void |
DelegatedCodeAssembler.convert(TypeDesc fromType,
TypeDesc toType) |
void |
CodeBuilder.convert(TypeDesc fromType,
TypeDesc toType) |
void |
CodeAssemblerPrinter.convert(TypeDesc fromType,
TypeDesc toType) |
void |
CodeAssembler.convert(TypeDesc fromType,
TypeDesc toType)
Generates code that converts the value of a primitive type already
on the stack.
|
void |
NullCodeAssembler.convert(TypeDesc fromType,
TypeDesc toType,
int fpConvertMode) |
void |
DelegatedCodeAssembler.convert(TypeDesc fromType,
TypeDesc toType,
int fpConvertMode) |
void |
CodeBuilder.convert(TypeDesc fromType,
TypeDesc toType,
int fpConvertMode) |
void |
CodeAssemblerPrinter.convert(TypeDesc fromType,
TypeDesc toType,
int fpConvertMode) |
void |
CodeAssembler.convert(TypeDesc fromType,
TypeDesc toType,
int fpConvertMode)
Generates code that converts the value of a primitive type already
on the stack.
|
LocalVariable |
NullCodeAssembler.createLocalVariable(String name,
TypeDesc type) |
LocalVariable |
DelegatedCodeAssembler.createLocalVariable(String name,
TypeDesc type) |
LocalVariable |
CodeBuilder.createLocalVariable(String name,
TypeDesc type) |
LocalVariable |
CodeAssemblerPrinter.createLocalVariable(String name,
TypeDesc type) |
LocalVariable |
CodeAssembler.createLocalVariable(String name,
TypeDesc type)
Creates a LocalVariable reference from a name and type.
|
LocalVariable |
DelegatedCodeAssembler.createLocalVariable(TypeDesc type) |
LocalVariable |
CodeBuilder.createLocalVariable(TypeDesc type) |
LocalVariable |
CodeAssembler.createLocalVariable(TypeDesc type)
Creates an unnamed LocalVariable.
|
LocalVariable |
AbstractCodeAssembler.createLocalVariable(TypeDesc type) |
static MethodDesc |
MethodDesc.forArguments(TypeDesc ret,
TypeDesc[] params)
Acquire a MethodDesc from a set of arguments.
|
static MethodDesc |
MethodDesc.forArguments(TypeDesc ret,
TypeDesc[] params)
Acquire a MethodDesc from a set of arguments.
|
void |
DelegatedCodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type) |
void |
CodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type)
Generates code the performs a conditional branch based on a comparison
between two values of the given type on the stack.
|
void |
AbstractCodeAssembler.ifComparisonBranch(Location location,
String choice,
TypeDesc type) |
void |
NullCodeAssembler.instanceOf(TypeDesc type) |
void |
DelegatedCodeAssembler.instanceOf(TypeDesc type) |
void |
CodeBuilder.instanceOf(TypeDesc type) |
void |
CodeAssemblerPrinter.instanceOf(TypeDesc type) |
void |
CodeAssembler.instanceOf(TypeDesc type)
Generates code that performs an instanceof operation.
|
void |
NullCodeAssembler.invokeConstructor(String className,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeConstructor(String className,
TypeDesc[] params) |
void |
CodeBuilder.invokeConstructor(String className,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeConstructor(String className,
TypeDesc[] params) |
void |
CodeAssembler.invokeConstructor(String className,
TypeDesc[] params)
Generates code to invoke a class constructor in any class.
|
void |
NullCodeAssembler.invokeConstructor(TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeConstructor(TypeDesc[] params) |
void |
CodeBuilder.invokeConstructor(TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeConstructor(TypeDesc[] params) |
void |
CodeAssembler.invokeConstructor(TypeDesc[] params)
Generates code to invoke a class constructor in this class.
|
void |
NullCodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
CodeBuilder.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
CodeBuilder.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params) |
void |
CodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params)
Generates code to invoke a class constructor in any class.
|
void |
CodeAssembler.invokeConstructor(TypeDesc classDesc,
TypeDesc[] params)
Generates code to invoke a class constructor in any class.
|
void |
NullCodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke an interface method in any class.
|
void |
CodeAssembler.invokeInterface(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke an interface method in any class.
|
void |
NullCodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke an interface method in any class.
|
void |
CodeAssembler.invokeInterface(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke an interface method in any class.
|
void |
NullCodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a private method in this class.
|
void |
CodeAssembler.invokePrivate(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a private method in this class.
|
void |
NullCodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in any class.
|
void |
CodeAssembler.invokeStatic(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in any class.
|
void |
NullCodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in this class.
|
void |
CodeAssembler.invokeStatic(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in this class.
|
void |
NullCodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in any class.
|
void |
CodeAssembler.invokeStatic(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a static method in any class.
|
void |
NullCodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a method in the super class.
|
void |
CodeAssembler.invokeSuper(String superClassName,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a method in the super class.
|
void |
NullCodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a method in the super class.
|
void |
CodeAssembler.invokeSuper(TypeDesc superClassDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a method in the super class.
|
void |
NullCodeAssembler.invokeSuperConstructor(TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeSuperConstructor(TypeDesc[] params) |
void |
CodeBuilder.invokeSuperConstructor(TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeSuperConstructor(TypeDesc[] params) |
void |
CodeAssembler.invokeSuperConstructor(TypeDesc[] params)
Generates code to invoke a super class constructor.
|
void |
NullCodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in any class.
|
void |
CodeAssembler.invokeVirtual(String className,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in any class.
|
void |
NullCodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in this class.
|
void |
CodeAssembler.invokeVirtual(String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in this class.
|
void |
NullCodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
NullCodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
DelegatedCodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeBuilder.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssemblerPrinter.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params) |
void |
CodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in any class.
|
void |
CodeAssembler.invokeVirtual(TypeDesc classDesc,
String methodName,
TypeDesc ret,
TypeDesc[] params)
Generates code to invoke a virtual method in any class.
|
void |
NullCodeAssembler.loadConstant(TypeDesc type) |
void |
DelegatedCodeAssembler.loadConstant(TypeDesc type) |
void |
CodeBuilder.loadConstant(TypeDesc type) |
void |
CodeAssemblerPrinter.loadConstant(TypeDesc type) |
void |
CodeAssembler.loadConstant(TypeDesc type)
Generates code that loads a constant class value onto the stack.
|
void |
NullCodeAssembler.loadField(String className,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadField(String className,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadField(String className,
String fieldName,
TypeDesc type)
Generates code that loads a value from a field from any class.
|
void |
NullCodeAssembler.loadField(String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadField(String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadField(String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadField(String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadField(String fieldName,
TypeDesc type)
Generates code that loads a value from a field from this class.
|
void |
NullCodeAssembler.loadField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadField(TypeDesc classDesc,
String fieldName,
TypeDesc type)
Generates code that loads a value from a field from any class.
|
void |
NullCodeAssembler.loadFromArray(TypeDesc type) |
void |
DelegatedCodeAssembler.loadFromArray(TypeDesc type) |
void |
CodeBuilder.loadFromArray(TypeDesc type) |
void |
CodeAssemblerPrinter.loadFromArray(TypeDesc type) |
void |
CodeAssembler.loadFromArray(TypeDesc type)
Generates code that loads a value from an array.
|
void |
NullCodeAssembler.loadStaticField(String className,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadStaticField(String className,
String fieldName,
TypeDesc type)
Generates code that loads a value from a static field from any class.
|
void |
NullCodeAssembler.loadStaticField(String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadStaticField(String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadStaticField(String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadStaticField(String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadStaticField(String fieldName,
TypeDesc type)
Generates code that loads a value from a static field from this class.
|
void |
NullCodeAssembler.loadStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.loadStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.loadStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.loadStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.loadStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type)
Generates code that loads a value from a static field from any class.
|
void |
NullCodeAssembler.newObject(TypeDesc type) |
void |
DelegatedCodeAssembler.newObject(TypeDesc type) |
void |
CodeBuilder.newObject(TypeDesc type) |
void |
CodeAssemblerPrinter.newObject(TypeDesc type) |
void |
CodeAssembler.newObject(TypeDesc type)
Generates code to create a new object.
|
void |
NullCodeAssembler.newObject(TypeDesc type,
int dimensions) |
void |
DelegatedCodeAssembler.newObject(TypeDesc type,
int dimensions) |
void |
CodeBuilder.newObject(TypeDesc type,
int dimensions) |
void |
CodeAssemblerPrinter.newObject(TypeDesc type,
int dimensions) |
void |
CodeAssembler.newObject(TypeDesc type,
int dimensions)
Generates code to create a new array.
|
void |
NullCodeAssembler.returnValue(TypeDesc type) |
void |
DelegatedCodeAssembler.returnValue(TypeDesc type) |
void |
CodeBuilder.returnValue(TypeDesc type) |
void |
CodeAssemblerPrinter.returnValue(TypeDesc type) |
void |
CodeAssembler.returnValue(TypeDesc type)
Generates code that returns an object or primitive type.
|
void |
NullCodeAssembler.storeField(String className,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeField(String className,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeField(String className,
String fieldName,
TypeDesc type)
Generates code that stores a value into a field from any class.
|
void |
NullCodeAssembler.storeField(String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeField(String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeField(String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeField(String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeField(String fieldName,
TypeDesc type)
Generates code that stores a value into a field from this class.
|
void |
NullCodeAssembler.storeField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeField(TypeDesc classDesc,
String fieldName,
TypeDesc type)
Generates code that stores a value into a field from any class.
|
void |
NullCodeAssembler.storeStaticField(String className,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeStaticField(String className,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeStaticField(String className,
String fieldName,
TypeDesc type)
Generates code that stores a value into a field from any class.
|
void |
NullCodeAssembler.storeStaticField(String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeStaticField(String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeStaticField(String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeStaticField(String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeStaticField(String fieldName,
TypeDesc type)
Generates code that stores a value into a field from this class.
|
void |
NullCodeAssembler.storeStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
DelegatedCodeAssembler.storeStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeBuilder.storeStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssemblerPrinter.storeStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type) |
void |
CodeAssembler.storeStaticField(TypeDesc classDesc,
String fieldName,
TypeDesc type)
Generates code that stores a value into a field from any class.
|
void |
NullCodeAssembler.storeToArray(TypeDesc type) |
void |
DelegatedCodeAssembler.storeToArray(TypeDesc type) |
void |
CodeBuilder.storeToArray(TypeDesc type) |
void |
CodeAssemblerPrinter.storeToArray(TypeDesc type) |
void |
CodeAssembler.storeToArray(TypeDesc type)
Generates code that stores a value to an array.
|
Constructor and Description |
---|
CodeAssemblerPrinter(TypeDesc[] paramTypes,
boolean isStatic,
PrintWriter writer) |
CodeAssemblerPrinter(TypeDesc[] paramTypes,
boolean isStatic,
PrintWriter writer,
String linePrefix,
String lineSuffix,
String builder) |
Modifier and Type | Method and Description |
---|---|
abstract TypeDesc |
StackMapTableAttr.VerificationTypeInfo.getType()
Returns variable type, which is null if unknown or not applicable.
|
TypeDesc |
Annotation.getType() |
Modifier and Type | Method and Description |
---|---|
Annotation.MemberValue |
Annotation.makeMemberValue(TypeDesc value) |
Annotation.MemberValue |
Annotation.makeMemberValue(TypeDesc enumType,
String enumName) |
void |
Annotation.putMemberValue(String name,
TypeDesc value) |
void |
Annotation.putMemberValue(String name,
TypeDesc enumType,
String enumName) |
void |
Annotation.setType(TypeDesc type) |
Modifier and Type | Method and Description |
---|---|
TypeDesc |
ConstantClassInfo.getType() |
Constructor and Description |
---|
ConstantClassInfo(ConstantPool cp,
TypeDesc type) |
Modifier and Type | Method and Description |
---|---|
protected Annotation |
AnnotationDescParser.buildRootAnnotation(TypeDesc rootAnnotationType)
Override this method if a root annotation is not provided, as it must be
built after parsing the root annotation type.
|
Copyright © 2004-2015 Cojen. All Rights Reserved.