Uses of Class
io.ebean.enhance.asm.Type
| Package | Description |
|---|---|
| io.ebean.enhance.asm |
Provides a small and fast bytecode manipulation framework.
|
| io.ebean.enhance.asm.commons |
Provides some useful class and method adapters.
|
-
Uses of Type in io.ebean.enhance.asm
Fields in io.ebean.enhance.asm declared as Type Modifier and Type Field Description static TypeType. BOOLEAN_TYPEThebooleantype.static TypeType. BYTE_TYPEThebytetype.static TypeType. CHAR_TYPEThechartype.static TypeType. DOUBLE_TYPEThedoubletype.static TypeType. FLOAT_TYPEThefloattype.static TypeType. INT_TYPETheinttype.static TypeType. LONG_TYPEThelongtype.static TypeType. SHORT_TYPETheshorttype.static TypeType. VOID_TYPEThevoidtype.Methods in io.ebean.enhance.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(Method method)Returns theTypevalues corresponding to the argument types of the given method.static Type[]Type. getArgumentTypes(String methodDescriptor)Returns theTypevalues 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(Type returnType, Type... argumentTypes)Returns the methodTypecorresponding to the given argument and return types.static TypeType. getMethodType(String methodDescriptor)Returns theTypecorresponding to the given method descriptor.static TypeType. getObjectType(String internalName)Returns theTypecorresponding to the given internal name.TypeType. getReturnType()Returns the return type of methods of this type.static TypeType. getReturnType(Method method)Returns theTypecorresponding to the return type of the given method.static TypeType. getReturnType(String methodDescriptor)Returns theTypecorresponding to the return type of the given method descriptor.static TypeType. getType(Class<?> clazz)Returns theTypecorresponding to the given class.static TypeType. getType(Constructor<?> constructor)Returns the methodTypecorresponding to the given constructor.static TypeType. getType(Method method)Returns the methodTypecorresponding to the given method.static TypeType. getType(String typeDescriptor)Returns theTypecorresponding to the given type descriptor.Methods in io.ebean.enhance.asm with parameters of type Type Modifier and Type Method Description static 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 methodTypecorresponding to the given argument and return types. -
Uses of Type in io.ebean.enhance.asm.commons
Fields in io.ebean.enhance.asm.commons declared as Type Modifier and Type Field Description static TypeInstructionAdapter. OBJECT_TYPEThe type of the java.lang.Object class.Methods in io.ebean.enhance.asm.commons that return Type Modifier and Type Method Description Type[]GeneratorAdapter. getArgumentTypes()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.TypeGeneratorAdapter. getReturnType()TypeMethod. getReturnType()Returns the return type of the method described by this object.Methods in io.ebean.enhance.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 type)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)Generates the instruction to cast from the first given type to the other.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, String name, Type type)Generates the instruction to push the value of a non static field on the stack.voidGeneratorAdapter. getStatic(Type owner, 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)Generates the instruction to create and push on the stack an array of the given 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)Constructs a new local variable of the given type.voidInstructionAdapter. or(Type type)voidGeneratorAdapter. push(Type value)Generates the instruction to push the given value on the stack.voidGeneratorAdapter. putField(Type owner, String name, Type type)Generates the instruction to store the top stack value in a non static field.voidGeneratorAdapter. putStatic(Type owner, String name, Type type)Generates the instruction to store the top stack value in a static field.voidInstructionAdapter. rem(Type type)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)Generates the instruction to push the given type on the stack.voidGeneratorAdapter. throwException(Type type, String message)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 io.ebean.enhance.asm.commons with parameters of type Type Constructor Description GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor classVisitor)Constructs a newGeneratorAdapter.Method(String name, Type returnType, Type[] argumentTypes)Constructs a newMethod.