Uses of Class
io.ebean.enhance.asm.Type

Packages that use Type
Package
Description
Provides a small and fast bytecode manipulation framework.
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 final Type
    The boolean type.
    static final Type
    The byte type.
    static final Type
    The char type.
    static final Type
    The double type.
    static final Type
    The float type.
    static final Type
    The int type.
    static final Type
    The long type.
    static final Type
    The short type.
    static final Type
    The void type.
    Methods in io.ebean.enhance.asm that return Type
    Modifier and Type
    Method
    Description
    Returns the argument types of methods of this type.
    static Type[]
    Type.getArgumentTypes(Method method)
    Returns the Type values corresponding to the argument types of the given method.
    static Type[]
    Type.getArgumentTypes(String methodDescriptor)
    Returns the Type values corresponding to the argument types of the given method descriptor.
    Returns the type of the elements of this array type.
    static Type
    Type.getMethodType(Type returnType, Type... argumentTypes)
    Returns the method Type corresponding to the given argument and return types.
    static Type
    Type.getMethodType(String methodDescriptor)
    Returns the Type corresponding to the given method descriptor.
    static Type
    Type.getObjectType(String internalName)
    Returns the Type corresponding to the given internal name.
    Returns the return type of methods of this type.
    static Type
    Type.getReturnType(Method method)
    Returns the Type corresponding to the return type of the given method.
    static Type
    Type.getReturnType(String methodDescriptor)
    Returns the Type corresponding to the return type of the given method descriptor.
    static Type
    Type.getType(Class<?> clazz)
    Returns the Type corresponding to the given class.
    static Type
    Type.getType(Constructor<?> constructor)
    Returns the method Type corresponding to the given constructor.
    static Type
    Type.getType(Method method)
    Returns the method Type corresponding to the given method.
    static Type
    Type.getType(String typeDescriptor)
    Returns the Type corresponding to the given type descriptor.
    Methods in io.ebean.enhance.asm with parameters of type Type
    Modifier and Type
    Method
    Description
    static String
    Type.getMethodDescriptor(Type returnType, Type... argumentTypes)
    Returns the descriptor corresponding to the given argument and return types.
    static Type
    Type.getMethodType(Type returnType, Type... argumentTypes)
    Returns the method Type corresponding 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 final Type
    InstructionAdapter.OBJECT_TYPE
    The type of the java.lang.Object class.
    Methods in io.ebean.enhance.asm.commons that return Type
    Modifier and Type
    Method
    Description
    GeneratorAdapter.getArgumentTypes()
     
    Returns the argument types of the method described by this object.
    GeneratorAdapter.getLocalType(int local)
    Returns the type of the given local variable.
    GeneratorAdapter.getReturnType()
     
    Method.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
    void
    InstructionAdapter.add(Type type)
     
    void
    InstructionAdapter.aload(Type type)
     
    void
    InstructionAdapter.and(Type type)
     
    void
    InstructionAdapter.anew(Type type)
     
    void
    InstructionAdapter.areturn(Type type)
     
    void
    GeneratorAdapter.arrayLoad(Type type)
    Generates the instruction to load an element from an array.
    void
    GeneratorAdapter.arrayStore(Type type)
    Generates the instruction to store an element in an array.
    void
    InstructionAdapter.astore(Type type)
     
    void
    GeneratorAdapter.box(Type type)
    Generates the instructions to box the top stack value.
    void
    GeneratorAdapter.cast(Type from, Type to)
    Generates the instructions to cast a numerical value from one type to another.
    void
    InstructionAdapter.cast(Type from, Type to)
    Generates the instruction to cast from the first given type to the other.
    void
    GeneratorAdapter.catchException(Label start, Label end, Type exception)
    Marks the start of an exception handler.
    void
    InstructionAdapter.checkcast(Type type)
     
    void
    GeneratorAdapter.checkCast(Type type)
    Generates the instruction to check that the top stack value is of the given type.
    void
    InstructionAdapter.cmpg(Type type)
     
    void
    InstructionAdapter.cmpl(Type type)
     
    void
    InstructionAdapter.div(Type type)
     
    void
    GeneratorAdapter.getField(Type owner, String name, Type type)
    Generates the instruction to push the value of a non static field on the stack.
    void
    GeneratorAdapter.getStatic(Type owner, String name, Type type)
    Generates the instruction to push the value of a static field on the stack.
    void
    GeneratorAdapter.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.
    void
    GeneratorAdapter.instanceOf(Type type)
    Generates the instruction to test if the top stack value is of the given type.
    void
    InstructionAdapter.instanceOf(Type type)
     
    void
    GeneratorAdapter.invokeConstructor(Type type, Method method)
    Generates the instruction to invoke a constructor.
    void
    GeneratorAdapter.invokeInterface(Type owner, Method method)
    Generates the instruction to invoke an interface method.
    void
    GeneratorAdapter.invokeStatic(Type owner, Method method)
    Generates the instruction to invoke a static method.
    void
    GeneratorAdapter.invokeVirtual(Type owner, Method method)
    Generates the instruction to invoke a normal method.
    void
    InstructionAdapter.load(int varIndex, Type type)
     
    void
    GeneratorAdapter.loadLocal(int local, Type type)
    Generates the instruction to load the given local variable on the stack.
    void
    GeneratorAdapter.math(int op, Type type)
    Generates the instruction to do the specified mathematical or logical operation.
    void
    InstructionAdapter.mul(Type type)
     
    void
    InstructionAdapter.neg(Type type)
     
    void
    InstructionAdapter.newarray(Type type)
    Generates the instruction to create and push on the stack an array of the given type.
    void
    GeneratorAdapter.newArray(Type type)
    Generates the instruction to create a new array.
    void
    GeneratorAdapter.newInstance(Type type)
    Generates the instruction to create a new object.
    int
    LocalVariablesSorter.newLocal(Type type)
    Constructs a new local variable of the given type.
    void
    InstructionAdapter.or(Type type)
     
    void
    GeneratorAdapter.push(Type value)
    Generates the instruction to push the given value on the stack.
    void
    GeneratorAdapter.putField(Type owner, String name, Type type)
    Generates the instruction to store the top stack value in a non static field.
    void
    GeneratorAdapter.putStatic(Type owner, String name, Type type)
    Generates the instruction to store the top stack value in a static field.
    void
    InstructionAdapter.rem(Type type)
     
    void
    InstructionAdapter.shl(Type type)
     
    void
    InstructionAdapter.shr(Type type)
     
    void
    InstructionAdapter.store(int varIndex, Type type)
     
    void
    GeneratorAdapter.storeLocal(int local, Type type)
    Generates the instruction to store the top stack value in the given local variable.
    void
    InstructionAdapter.sub(Type type)
     
    void
    GeneratorAdapter.swap(Type prev, Type type)
    Generates the instructions to swap the top two stack values.
    void
    InstructionAdapter.tconst(Type type)
    Generates the instruction to push the given type on the stack.
    void
    GeneratorAdapter.throwException(Type type, String message)
    Generates the instructions to create and throw an exception.
    void
    GeneratorAdapter.unbox(Type type)
    Generates the instructions to unbox the top stack value.
    void
    InstructionAdapter.ushr(Type type)
     
    void
    GeneratorAdapter.valueOf(Type type)
    Generates the instructions to box the top stack value using Java 5's valueOf() method.
    void
    InstructionAdapter.xor(Type type)
     
    Constructors in io.ebean.enhance.asm.commons with parameters of type Type
    Modifier
    Constructor
    Description
     
    GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor classVisitor)
    Constructs a new GeneratorAdapter.
     
    Method(String name, Type returnType, Type[] argumentTypes)
    Constructs a new Method.