Uses of Class
com.googlecode.aviator.asm.Type
Packages that use Type
-
Uses of Type in com.googlecode.aviator.asm
Fields in com.googlecode.aviator.asm declared as TypeModifier and TypeFieldDescriptionstatic final TypeType.BOOLEAN_TYPEThe boolean type.static final TypeType.BYTE_TYPEThe byte type.static final TypeType.CHAR_TYPEThe char type.static final TypeType.DOUBLE_TYPEThe double type.static final TypeType.FLOAT_TYPEThe float type.static final TypeType.INT_TYPEThe int type.static final TypeType.LONG_TYPEThe long type.static final TypeType.SHORT_TYPEThe short type.static final TypeType.VOID_TYPEThe void type.Methods in com.googlecode.aviator.asm that return TypeModifier and TypeMethodDescriptionType[]Type.getArgumentTypes()Returns the argument types of methods of this type.static Type[]Type.getArgumentTypes(Method method) Returns the Java types corresponding to the argument types of the given method.static Type[]Type.getArgumentTypes(String methodDescriptor) Returns the Java types corresponding to the argument types of the given method descriptor.Type.getElementType()Returns the type of the elements of this array type.static TypeType.getMethodType(Type returnType, Type... argumentTypes) Returns the Java method type corresponding to the given argument and return types.static TypeType.getMethodType(String methodDescriptor) Returns the Java type corresponding to the given method descriptor.static TypeType.getObjectType(String internalName) Returns the Java type corresponding to the given internal name.Type.getReturnType()Returns the return type of methods of this type.static TypeType.getReturnType(Method method) Returns the Java type corresponding to the return type of the given method.static TypeType.getReturnType(String methodDescriptor) Returns the Java type corresponding to the return type of the given method descriptor.private static TypeType.getType(char[] buf, int off) Returns the Java type corresponding to the given type descriptor.static TypeReturns the Java type corresponding to the given class.static TypeType.getType(Constructor<?> c) Returns the Java method type corresponding to the given constructor.static TypeReturns the Java method type corresponding to the given method.static TypeReturns the Java type corresponding to the given type descriptor.Methods in com.googlecode.aviator.asm with parameters of type TypeModifier and TypeMethodDescriptionstatic StringType.getMethodDescriptor(Type returnType, Type... argumentTypes) Returns the descriptor corresponding to the given argument and return types.static TypeType.getMethodType(Type returnType, Type... argumentTypes) Returns the Java method type corresponding to the given argument and return types.(package private) voidFrame.initInputFrame(ClassWriter cw, int access, Type[] args, int maxLocals) Initializes the input frame of the first basic block from the method descriptor. -
Uses of Type in com.googlecode.aviator.asm.commons
Fields in com.googlecode.aviator.asm.commons declared as TypeModifier and TypeFieldDescriptionprivate final Type[]GeneratorAdapter.argumentTypesArgument types of the method visited by this adapter.private static final TypeGeneratorAdapter.BOOLEAN_TYPEprivate static final TypeGeneratorAdapter.BYTE_TYPEprivate static final TypeGeneratorAdapter.CHARACTER_TYPEprivate static final TypeGeneratorAdapter.DOUBLE_TYPEprivate static final TypeGeneratorAdapter.FLOAT_TYPEprivate static final TypeGeneratorAdapter.INTEGER_TYPEprivate static final TypeGeneratorAdapter.LONG_TYPEprivate static final TypeGeneratorAdapter.NUMBER_TYPEprivate static final TypeGeneratorAdapter.OBJECT_TYPEstatic final TypeInstructionAdapter.OBJECT_TYPEprivate static final TypeLocalVariablesSorter.OBJECT_TYPEprivate final TypeGeneratorAdapter.returnTypeReturn type of the method visited by this adapter.private static final TypeGeneratorAdapter.SHORT_TYPEFields in com.googlecode.aviator.asm.commons with type parameters of type TypeModifier and TypeFieldDescriptionGeneratorAdapter.localTypesTypes of the local variables of the method visited by this adapter.Methods in com.googlecode.aviator.asm.commons that return TypeModifier and TypeMethodDescriptionType[]Method.getArgumentTypes()Returns the argument types of the method described by this object.private static TypeGeneratorAdapter.getBoxedType(Type type) GeneratorAdapter.getLocalType(int local) Returns the type of the given local variable.Method.getReturnType()Returns the return type of the method described by this object.Methods in com.googlecode.aviator.asm.commons with parameters of type TypeModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidGenerates the instruction to load an element from an array.voidGeneratorAdapter.arrayStore(Type type) Generates the instruction to store an element in an array.voidvoidGenerates the instructions to box the top stack value.voidGenerates the instructions to cast a numerical value from one type to another.voidvoidGeneratorAdapter.catchException(Label start, Label end, Type exception) Marks the start of an exception handler.voidvoidGenerates the instruction to check that the top stack value is of the given type.voidvoidvoidprivate voidGenerates a get field or set field instruction.private static TypeGeneratorAdapter.getBoxedType(Type type) voidGenerates the instruction to push the value of a non static field on the stack.private static String[]GeneratorAdapter.getInternalNames(Type[] types) Returns the internal names of the given types.voidGenerates the instruction to push the value of a static field on the stack.voidGenerates the instructions to jump to a label based on the comparison of the top two stack values.voidGeneratorAdapter.instanceOf(Type type) Generates the instruction to test if the top stack value is of the given type.voidInstructionAdapter.instanceOf(Type type) voidGeneratorAdapter.invokeConstructor(Type type, Method method) Generates the instruction to invoke a constructor.private voidGeneratorAdapter.invokeInsn(int opcode, Type type, Method method) Generates an invoke method instruction.voidGeneratorAdapter.invokeInterface(Type owner, Method method) Generates the instruction to invoke an interface method.voidGeneratorAdapter.invokeStatic(Type owner, Method method) Generates the instruction to invoke a static method.voidGeneratorAdapter.invokeVirtual(Type owner, Method method) Generates the instruction to invoke a normal method.voidprivate voidGenerates the instruction to push a local variable on the stack.voidGenerates the instruction to load the given local variable on the stack.voidGenerates the instruction to do the specified mathematical or logical operation.voidvoidvoidvoidGenerates the instruction to create a new array.voidGeneratorAdapter.newInstance(Type type) Generates the instruction to create a new object.intCreates a new local variable of the given type.protected intLocalVariablesSorter.newLocalMapping(Type type) voidvoidGenerates the instruction to push the given value on the stack.voidGenerates the instruction to store the top stack value in a non static field.voidGenerates the instruction to store the top stack value in a static field.voidprivate intprotected voidGeneratorAdapter.setLocalType(int local, Type type) protected voidLocalVariablesSorter.setLocalType(int local, Type type) Notifies subclasses that a local variable has been added or remapped.voidvoidvoidprivate voidGenerates the instruction to store the top stack value in a local variable.voidGeneratorAdapter.storeLocal(int local, Type type) Generates the instruction to store the top stack value in the given local variable.voidvoidGenerates the instructions to swap the top two stack values.voidvoidGeneratorAdapter.throwException(Type type, String msg) Generates the instructions to create and throw an exception.private voidGenerates a type dependent instruction.voidGenerates the instructions to unbox the top stack value.voidvoidGenerates the instructions to box the top stack value using Java 5's valueOf() method.voidConstructors in com.googlecode.aviator.asm.commons with parameters of type TypeModifierConstructorDescriptionGeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv) Creates a newGeneratorAdapter.Creates a newMethod.