Uses of Class
org.aspectj.apache.bcel.generic.Type
Packages that use Type
Package
Description
-
Uses of Type in org.aspectj.apache.bcel
Fields in org.aspectj.apache.bcel declared as Type -
Uses of Type in org.aspectj.apache.bcel.classfile
Methods in org.aspectj.apache.bcel.classfile that return TypeModifier and TypeMethodDescriptionType[]
Method.getArgumentTypes()
Method.getReturnType()
Field.getType()
return the type of the fieldMethods in org.aspectj.apache.bcel.classfile with parameters of type TypeModifier and TypeMethodDescriptionstatic 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.genericModifier and TypeClassDescriptionfinal class
Denotes array type, such as int[][]final class
Denotes basic type such as int.class
Denotes reference such as java.lang.String.class
Super class for object and array types.class
Returnaddress, the type JSR or JSR_W instructions push upon the stack.Fields in org.aspectj.apache.bcel.generic declared as TypeModifier and TypeFieldDescriptionstatic final Type[]
Type.NO_ARGS
static final Type[]
Type.STRINGARRAY1
static final Type[]
Type.STRINGARRAY2
static final Type[]
Type.STRINGARRAY3
static final Type[]
Type.STRINGARRAY4
static final Type[]
Type.STRINGARRAY5
static final Type[]
Type.STRINGARRAY6
static final Type[]
Type.STRINGARRAY7
protected Type
FieldGenOrMethodGen.type
static final Type
Type.UNKNOWN
Methods in org.aspectj.apache.bcel.generic that return TypeModifier and TypeMethodDescriptionMethodGen.getArgumentType
(int i) Type[]
InvokeDynamic.getArgumentTypes
(ConstantPool cp) Type[]
InvokeInstruction.getArgumentTypes
(ConstantPool cpg) Type[]
MethodGen.getArgumentTypes()
static Type[]
Type.getArgumentTypes
(String signature) Convert arguments of a method (signature) to an array of Type objects.ArrayType.getBasicType()
ArrayType.getElementType()
FieldInstruction.getFieldType
(ConstantPool cpg) LocalVariableTag.getRealType()
InvokeDynamic.getReturnType
(ConstantPool cp) InvokeInstruction.getReturnType
(ConstantPool cpg) MethodGen.getReturnType()
static Type
Type.getReturnType
(String signature) Convert return value of a method (signature) to a Type object.FieldGenOrMethodGen.getType()
FieldInstruction.getType
(ConstantPool cpg) Instruction.getType()
Instruction.getType
(ConstantPool cp) InstructionBranch.getType
(ConstantPool cp) final Type
InstructionByte.getType()
For supporting NEWARRAYInstructionCP.getType
(ConstantPool cpg) InvokeInstruction.getType
(ConstantPool cpg) LocalVariableGen.getType()
RET.getType
(ConstantPool cp) static Type
Convert runtime java.lang.Class to BCEL Type object.static final Type
Type.TypeHolder.getType()
Methods in org.aspectj.apache.bcel.generic with parameters of type TypeModifier and TypeMethodDescriptionMethodGen.addLocalVariable
(String name, Type type, int slot, InstructionHandle start, InstructionHandle end) MethodGen.addLocalVariable
(String name, Type type, InstructionHandle start, InstructionHandle end) Adds a local variable to this method and assigns an index automatically.static Instruction
InstructionFactory.createArrayLoad
(Type type) static Instruction
InstructionFactory.createArrayStore
(Type type) 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.InstructionFactory.createFieldAccess
(String class_name, String name, Type type, short kind) Create a field instruction.InstructionFactory.createGetField
(String class_name, String name, Type t) InstructionFactory.createGetStatic
(String class_name, String name, Type t) InstructionFactory.createInvoke
(String class_name, String name, Type ret_type, Type[] arg_types, short kind) InstructionFactory.createInvoke
(String class_name, String name, Type ret_type, Type[] arg_types, short kind, boolean isInterface) Create an invoke instruction.static InstructionLV
InstructionFactory.createLoad
(Type type, int index) 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 intInstructionFactory.createPutField
(String class_name, String name, Type t) InstructionFactory.createPutStatic
(String class_name, String name, Type t) static Instruction
InstructionFactory.createReturn
(Type type) Create typed returnstatic 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
void
Constructors in org.aspectj.apache.bcel.generic with parameters of type TypeModifierConstructorDescriptionConstructor for array of given typeFieldGen
(int modifiers, Type type, String name, ConstantPool cpool) Declare a field.LocalVariableGen
(int index, String name, Type type, InstructionHandle start, InstructionHandle end) Generate a local variable that with index `index'.LocalVariableTag
(Type type, String signature, String name, int slot, int startPosition) MethodGen
(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPool cp) Declare method.TypeHolder
(Type t, int i) -
Uses of Type in org.aspectj.weaver.bcel
Methods in org.aspectj.weaver.bcel that return TypeModifier and TypeMethodDescriptionType[]
LazyMethodGen.getArgumentTypes()
LazyMethodGen.getReturnType()
static Type
BcelWorld.makeBcelType
(String type) static Type
BcelWorld.makeBcelType
(UnresolvedType type) static Type[]
BcelWorld.makeBcelTypes
(String[] types) Methods in org.aspectj.weaver.bcel with parameters of type TypeModifier and TypeMethodDescriptionint
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
static InstructionList
BcelRenderer.renderExpr
(InstructionFactory fact, BcelWorld world, Expr e, Type desiredType) Constructors in org.aspectj.weaver.bcel with parameters of type TypeModifierConstructorDescriptionLazyMethodGen
(int modifiers, Type returnType, String name, Type[] paramTypes, String[] declaredExceptions, LazyClassGen enclosingClass)