|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Type | |
---|---|
org.aspectj.apache.bcel | |
org.aspectj.apache.bcel.classfile | |
org.aspectj.apache.bcel.generic | |
org.aspectj.weaver.bcel |
Uses of Type in org.aspectj.apache.bcel |
---|
Fields in org.aspectj.apache.bcel declared as Type | |
---|---|
static Type[] |
Constants.types
|
Uses of Type in org.aspectj.apache.bcel.classfile |
---|
Methods in org.aspectj.apache.bcel.classfile that return Type | |
---|---|
Type[] |
Method.getArgumentTypes()
|
Type |
Method.getReturnType()
|
Type |
Field.getType()
return the type of the field |
Methods in org.aspectj.apache.bcel.classfile with parameters of type Type | |
---|---|
static java.lang.String |
Utility.toMethodSignature(Type returnType,
Type[] argTypes)
Convert type to Java method signature, e.g. |
static java.lang.String |
Utility.toMethodSignature(Type returnType,
Type[] argTypes)
Convert type to Java method signature, e.g. |
Uses of Type in org.aspectj.apache.bcel.generic |
---|
Subclasses of Type in org.aspectj.apache.bcel.generic | |
---|---|
class |
ArrayType
Denotes array type, such as int[][] |
class |
BasicType
Denotes basic type such as int. |
class |
ObjectType
Denotes reference such as java.lang.String. |
class |
ReferenceType
Super class for object and array types. |
class |
ReturnaddressType
Returnaddress, the type JSR or JSR_W instructions push upon the stack. |
Fields in org.aspectj.apache.bcel.generic declared as Type | |
---|---|
static Type[] |
Type.NO_ARGS
|
static Type[] |
Type.STRINGARRAY1
|
static Type[] |
Type.STRINGARRAY2
|
static Type[] |
Type.STRINGARRAY3
|
static Type[] |
Type.STRINGARRAY4
|
static Type[] |
Type.STRINGARRAY5
|
static Type[] |
Type.STRINGARRAY6
|
static Type[] |
Type.STRINGARRAY7
|
static Type |
Type.UNKNOWN
|
Methods in org.aspectj.apache.bcel.generic that return Type | |
---|---|
Type |
MethodGen.getArgumentType(int i)
|
Type[] |
MethodGen.getArgumentTypes()
|
Type[] |
InvokeInstruction.getArgumentTypes(ConstantPool cpg)
|
static Type[] |
Type.getArgumentTypes(java.lang.String signature)
Convert arguments of a method (signature) to an array of Type objects. |
Type |
ArrayType.getBasicType()
|
Type |
ArrayType.getElementType()
|
Type |
FieldInstruction.getFieldType(ConstantPool cpg)
|
Type |
LocalVariableTag.getRealType()
|
Type |
MethodGen.getReturnType()
|
Type |
InvokeInstruction.getReturnType(ConstantPool cpg)
|
static Type |
Type.getReturnType(java.lang.String signature)
Convert return value of a method (signature) to a Type object. |
Type |
Type.TypeHolder.getType()
|
Type |
LocalVariableGen.getType()
|
Type |
InstructionByte.getType()
For supporting NEWARRAY |
Type |
Instruction.getType()
|
Type |
FieldGenOrMethodGen.getType()
|
static Type |
Type.getType(java.lang.Class cl)
Convert runtime java.lang.Class to BCEL Type object. |
Type |
RET.getType(ConstantPool cp)
|
Type |
InvokeInstruction.getType(ConstantPool cpg)
|
Type |
InstructionCP.getType(ConstantPool cpg)
|
Type |
InstructionBranch.getType(ConstantPool cp)
|
Type |
Instruction.getType(ConstantPool cp)
|
Type |
FieldInstruction.getType(ConstantPool cpg)
|
static Type |
Type.getType(java.lang.String signature)
|
Methods in org.aspectj.apache.bcel.generic with parameters of type Type | |
---|---|
LocalVariableGen |
MethodGen.addLocalVariable(java.lang.String name,
Type type,
InstructionHandle start,
InstructionHandle end)
Adds a local variable to this method and assigns an index automatically. |
LocalVariableGen |
MethodGen.addLocalVariable(java.lang.String name,
Type type,
int slot,
InstructionHandle start,
InstructionHandle end)
|
static Instruction |
InstructionFactory.createArrayLoad(Type type)
|
static Instruction |
InstructionFactory.createArrayStore(Type type)
|
Instruction |
InstructionFactory.createCast(Type src_type,
Type dest_type)
Create conversion operation for two stack operands, this may be an I2C, instruction, e.g., if the operands are basic types and CHECKCAST if they are reference types. |
FieldInstruction |
InstructionFactory.createFieldAccess(java.lang.String class_name,
java.lang.String name,
Type type,
short kind)
Create a field instruction. |
FieldInstruction |
InstructionFactory.createGetField(java.lang.String class_name,
java.lang.String name,
Type t)
|
FieldInstruction |
InstructionFactory.createGetStatic(java.lang.String class_name,
java.lang.String name,
Type t)
|
InvokeInstruction |
InstructionFactory.createInvoke(java.lang.String class_name,
java.lang.String name,
Type ret_type,
Type[] arg_types,
short kind)
Create an invoke instruction. |
InvokeInstruction |
InstructionFactory.createInvoke(java.lang.String class_name,
java.lang.String name,
Type ret_type,
Type[] arg_types,
short kind)
Create an invoke instruction. |
static InstructionLV |
InstructionFactory.createLoad(Type type,
int index)
|
Instruction |
InstructionFactory.createNewArray(Type t,
short dim)
Create new array of given size and type. |
static Instruction |
InstructionFactory.createNull(Type type)
Create "null" value for reference types, 0 for basic types like int |
FieldInstruction |
InstructionFactory.createPutField(java.lang.String class_name,
java.lang.String name,
Type t)
|
FieldInstruction |
InstructionFactory.createPutStatic(java.lang.String class_name,
java.lang.String name,
Type t)
|
static Instruction |
InstructionFactory.createReturn(Type type)
Create typed return |
static InstructionLV |
InstructionFactory.createStore(Type type,
int index)
|
boolean |
ReferenceType.isAssignmentCompatibleWith(Type t)
Return true iff this is assignment compatible with another type t as defined in the JVM specification; see the AASTORE definition there. |
boolean |
ReferenceType.isCastableTo(Type t)
Return true iff this type is castable to another type t as defined in the JVM specification. |
void |
MethodGen.setArgumentType(int i,
Type type)
|
void |
MethodGen.setArgumentTypes(Type[] arg_types)
|
void |
MethodGen.setReturnType(Type return_type)
|
void |
LocalVariableGen.setType(Type type)
|
void |
FieldGenOrMethodGen.setType(Type type)
|
Constructors in org.aspectj.apache.bcel.generic with parameters of type Type | |
---|---|
ArrayType(Type type,
int dimensions)
Constructor for array of given type |
|
FieldGen(int modifiers,
Type type,
java.lang.String name,
ConstantPool cpool)
Declare a field. |
|
LocalVariableGen(int index,
java.lang.String name,
Type type,
InstructionHandle start,
InstructionHandle end)
Generate a local variable that with index `index'. |
|
LocalVariableTag(Type type,
java.lang.String signature,
java.lang.String name,
int slot,
int startPosition)
|
|
MethodGen(int access_flags,
Type return_type,
Type[] arg_types,
java.lang.String[] arg_names,
java.lang.String method_name,
java.lang.String class_name,
InstructionList il,
ConstantPool cp)
Declare method. |
|
MethodGen(int access_flags,
Type return_type,
Type[] arg_types,
java.lang.String[] arg_names,
java.lang.String method_name,
java.lang.String class_name,
InstructionList il,
ConstantPool cp)
Declare method. |
|
Type.TypeHolder(Type t,
int i)
|
Uses of Type in org.aspectj.weaver.bcel |
---|
Methods in org.aspectj.weaver.bcel that return Type | |
---|---|
Type[] |
LazyMethodGen.getArgumentTypes()
|
Type |
LazyMethodGen.getReturnType()
|
static Type |
BcelWorld.makeBcelType(UnresolvedType type)
|
Methods in org.aspectj.weaver.bcel with parameters of type Type | |
---|---|
int |
LazyMethodGen.allocateLocal(Type type)
|
static InstructionList |
Utility.createConversion(InstructionFactory factory,
Type fromType,
Type toType)
|
static InstructionList |
Utility.createConversion(InstructionFactory fact,
Type fromType,
Type toType,
boolean allowAutoboxing)
|
static UnresolvedType |
BcelWorld.fromBcel(Type t)
|
static InstructionList |
BcelRenderer.renderExpr(InstructionFactory fact,
BcelWorld world,
Expr e,
Type desiredType)
|
ResolvedType |
BcelWorld.resolve(Type t)
|
Constructors in org.aspectj.weaver.bcel with parameters of type Type | |
---|---|
LazyMethodGen(int modifiers,
Type returnType,
java.lang.String name,
Type[] paramTypes,
java.lang.String[] declaredExceptions,
LazyClassGen enclosingClass)
|
|
LazyMethodGen(int modifiers,
Type returnType,
java.lang.String name,
Type[] paramTypes,
java.lang.String[] declaredExceptions,
LazyClassGen enclosingClass)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |