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 StringUtility.toMethodSignature(Type returnType, Type[] argTypes) Convert type to Java method signature, e.g. int[] f(java.lang.String x) becomes (Ljava/lang/String;)[I -
Uses of Type in org.aspectj.apache.bcel.generic
Subclasses of Type in org.aspectj.apache.bcel.genericModifier and TypeClassDescriptionfinal classDenotes array type, such as int[][]final classDenotes basic type such as int.classDenotes reference such as java.lang.String.classSuper class for object and array types.classReturnaddress, 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_ARGSstatic final Type[]Type.STRINGARRAY1static final Type[]Type.STRINGARRAY2static final Type[]Type.STRINGARRAY3static final Type[]Type.STRINGARRAY4static final Type[]Type.STRINGARRAY5static final Type[]Type.STRINGARRAY6static final Type[]Type.STRINGARRAY7protected TypeFieldGenOrMethodGen.typestatic final TypeType.UNKNOWNMethods 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 TypeType.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 TypeInstructionByte.getType()For supporting NEWARRAYInstructionCP.getType(ConstantPool cpg) InvokeInstruction.getType(ConstantPool cpg) LocalVariableGen.getType()RET.getType(ConstantPool cp) static TypeConvert runtime java.lang.Class to BCEL Type object.static final TypeType.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 InstructionInstructionFactory.createArrayLoad(Type type) static InstructionInstructionFactory.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 InstructionLVInstructionFactory.createLoad(Type type, int index) InstructionFactory.createNewArray(Type t, short dim) Create new array of given size and type.static InstructionInstructionFactory.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 InstructionInstructionFactory.createReturn(Type type) Create typed returnstatic InstructionLVInstructionFactory.createStore(Type type, int index) booleanReferenceType.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.booleanReferenceType.isCastableTo(Type t) Return true iff this type is castable to another type t as defined in the JVM specification.voidMethodGen.setArgumentType(int i, Type type) voidMethodGen.setArgumentTypes(Type[] arg_types) voidMethodGen.setReturnType(Type return_type) voidvoidConstructors 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 TypeBcelWorld.makeBcelType(String type) static TypeBcelWorld.makeBcelType(UnresolvedType type) static Type[]BcelWorld.makeBcelTypes(String[] types) Methods in org.aspectj.weaver.bcel with parameters of type TypeModifier and TypeMethodDescriptionintLazyMethodGen.allocateLocal(Type type) static InstructionListUtility.createConversion(InstructionFactory factory, Type fromType, Type toType) static InstructionListUtility.createConversion(InstructionFactory fact, Type fromType, Type toType, boolean allowAutoboxing) static UnresolvedTypestatic InstructionListBcelRenderer.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)