Uses of Class
org.objectweb.asm.Type
-
Packages that use Type Package Description org.objectweb.asm Provides a small and fast bytecode manipulation framework.org.objectweb.asm.commons Provides some useful class and method adapters.org.objectweb.asm.tree.analysis Provides a framework for static code analysis based on the asm.tree package. -
-
Uses of Type in org.objectweb.asm
Fields in org.objectweb.asm declared as Type Modifier and Type Field Description static TypeType. BOOLEAN_TYPEThe boolean type.static TypeType. BYTE_TYPEThe byte type.static TypeType. CHAR_TYPEThe char type.static TypeType. DOUBLE_TYPEThe double type.static TypeType. FLOAT_TYPEThe float type.static TypeType. INT_TYPEThe int type.static TypeType. LONG_TYPEThe long type.static TypeType. SHORT_TYPEThe short type.static TypeType. VOID_TYPEThe void type.Methods in org.objectweb.asm that return Type Modifier and Type Method Description Type[]Type. getArgumentTypes()Returns the argument types of methods of this type.static Type[]Type. getArgumentTypes(java.lang.reflect.Method method)Returns the Java types corresponding to the argument types of the given method.static Type[]Type. getArgumentTypes(java.lang.String methodDescriptor)Returns the Java types corresponding to the argument types of the given method descriptor.TypeType. getElementType()Returns the type of the elements of this array type.static TypeType. getMethodType(java.lang.String methodDescriptor)Returns the Java type corresponding to the given method descriptor.static TypeType. getMethodType(Type returnType, Type... argumentTypes)Returns the Java method type corresponding to the given argument and return types.static TypeType. getObjectType(java.lang.String internalName)Returns the Java type corresponding to the given internal name.TypeType. getReturnType()Returns the return type of methods of this type.static TypeType. getReturnType(java.lang.reflect.Method method)Returns the Java type corresponding to the return type of the given method.static TypeType. getReturnType(java.lang.String methodDescriptor)Returns the Java type corresponding to the return type of the given method descriptor.static TypeType. getType(java.lang.Class<?> c)Returns the Java type corresponding to the given class.static TypeType. getType(java.lang.reflect.Constructor<?> c)Returns the Java method type corresponding to the given constructor.static TypeType. getType(java.lang.reflect.Method m)Returns the Java method type corresponding to the given method.static TypeType. getType(java.lang.String typeDescriptor)Returns the Java type corresponding to the given type descriptor.Methods in org.objectweb.asm with parameters of type Type Modifier and Type Method Description static java.lang.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. -
Uses of Type in org.objectweb.asm.commons
Fields in org.objectweb.asm.commons declared as Type Modifier and Type Field Description static TypeInstructionAdapter. OBJECT_TYPEMethods in org.objectweb.asm.commons that return Type Modifier and Type Method Description Type[]Method. getArgumentTypes()Returns the argument types of the method described by this object.TypeGeneratorAdapter. getLocalType(int local)Returns the type of the given local variable.TypeMethod. getReturnType()Returns the return type of the method described by this object.Methods in org.objectweb.asm.commons with parameters of type Type Modifier and Type Method Description voidInstructionAdapter. add(Type type)voidInstructionAdapter. aload(Type type)voidInstructionAdapter. and(Type type)voidInstructionAdapter. anew(Type type)voidInstructionAdapter. areturn(Type t)voidGeneratorAdapter. arrayLoad(Type type)Generates the instruction to load an element from an array.voidGeneratorAdapter. arrayStore(Type type)Generates the instruction to store an element in an array.voidInstructionAdapter. astore(Type type)voidGeneratorAdapter. box(Type type)Generates the instructions to box the top stack value.voidGeneratorAdapter. cast(Type from, Type to)Generates the instructions to cast a numerical value from one type to another.voidInstructionAdapter. cast(Type from, Type to)voidGeneratorAdapter. catchException(Label start, Label end, Type exception)Marks the start of an exception handler.voidInstructionAdapter. checkcast(Type type)voidGeneratorAdapter. checkCast(Type type)Generates the instruction to check that the top stack value is of the given type.voidInstructionAdapter. cmpg(Type type)voidInstructionAdapter. cmpl(Type type)voidInstructionAdapter. div(Type type)voidGeneratorAdapter. getField(Type owner, java.lang.String name, Type type)Generates the instruction to push the value of a non static field on the stack.voidGeneratorAdapter. getStatic(Type owner, java.lang.String name, Type type)Generates the instruction to push the value of a static field on the stack.voidGeneratorAdapter. ifCmp(Type type, int mode, Label label)Generates 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.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.voidInstructionAdapter. load(int var, Type type)voidGeneratorAdapter. loadLocal(int local, Type type)Generates the instruction to load the given local variable on the stack.voidGeneratorAdapter. math(int op, Type type)Generates the instruction to do the specified mathematical or logical operation.voidInstructionAdapter. mul(Type type)voidInstructionAdapter. neg(Type type)voidInstructionAdapter. newarray(Type type)voidGeneratorAdapter. newArray(Type type)Generates the instruction to create a new array.voidGeneratorAdapter. newInstance(Type type)Generates the instruction to create a new object.intLocalVariablesSorter. newLocal(Type type)Creates a new local variable of the given type.protected intLocalVariablesSorter. newLocalMapping(Type type)voidInstructionAdapter. or(Type type)voidGeneratorAdapter. push(Type value)Generates the instruction to push the given value on the stack.voidGeneratorAdapter. putField(Type owner, java.lang.String name, Type type)Generates the instruction to store the top stack value in a non static field.voidGeneratorAdapter. putStatic(Type owner, java.lang.String name, Type type)Generates the instruction to store the top stack value in a static field.voidInstructionAdapter. rem(Type type)protected voidGeneratorAdapter. setLocalType(int local, Type type)protected voidLocalVariablesSorter. setLocalType(int local, Type type)Notifies subclasses that a local variable has been added or remapped.voidInstructionAdapter. shl(Type type)voidInstructionAdapter. shr(Type type)voidInstructionAdapter. store(int var, Type type)voidGeneratorAdapter. storeLocal(int local, Type type)Generates the instruction to store the top stack value in the given local variable.voidInstructionAdapter. sub(Type type)voidGeneratorAdapter. swap(Type prev, Type type)Generates the instructions to swap the top two stack values.voidInstructionAdapter. tconst(Type type)voidGeneratorAdapter. throwException(Type type, java.lang.String msg)Generates the instructions to create and throw an exception.voidGeneratorAdapter. unbox(Type type)Generates the instructions to unbox the top stack value.voidInstructionAdapter. ushr(Type type)voidGeneratorAdapter. valueOf(Type type)Generates the instructions to box the top stack value using Java 5's valueOf() method.voidInstructionAdapter. xor(Type type)Constructors in org.objectweb.asm.commons with parameters of type Type Constructor Description GeneratorAdapter(int access, Method method, java.lang.String signature, Type[] exceptions, ClassVisitor cv)Creates a newGeneratorAdapter.Method(java.lang.String name, Type returnType, Type[] argumentTypes)Creates a newMethod. -
Uses of Type in org.objectweb.asm.tree.analysis
Methods in org.objectweb.asm.tree.analysis that return Type Modifier and Type Method Description protected TypeSimpleVerifier. getSuperClass(Type t)TypeBasicValue. getType()Methods in org.objectweb.asm.tree.analysis with parameters of type Type Modifier and Type Method Description protected java.lang.Class<?>SimpleVerifier. getClass(Type t)protected TypeSimpleVerifier. getSuperClass(Type t)protected booleanSimpleVerifier. isAssignableFrom(Type t, Type u)protected booleanSimpleVerifier. isInterface(Type t)BasicValueBasicInterpreter. newValue(Type type)abstract VInterpreter. newValue(Type type)Creates a new value that represents the given type.BasicValueSimpleVerifier. newValue(Type type)SourceValueSourceInterpreter. newValue(Type type)Constructors in org.objectweb.asm.tree.analysis with parameters of type Type Constructor Description BasicValue(Type type)SimpleVerifier(int api, Type currentClass, Type currentSuperClass, java.util.List<Type> currentClassInterfaces, boolean isInterface)SimpleVerifier(Type currentClass, Type currentSuperClass, boolean isInterface)Constructs a newSimpleVerifierto verify a specific class.SimpleVerifier(Type currentClass, Type currentSuperClass, java.util.List<Type> currentClassInterfaces, boolean isInterface)Constructs a newSimpleVerifierto verify a specific class.Constructor parameters in org.objectweb.asm.tree.analysis with type arguments of type Type Constructor Description SimpleVerifier(int api, Type currentClass, Type currentSuperClass, java.util.List<Type> currentClassInterfaces, boolean isInterface)SimpleVerifier(Type currentClass, Type currentSuperClass, java.util.List<Type> currentClassInterfaces, boolean isInterface)Constructs a newSimpleVerifierto verify a specific class.
-