站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Uses of Class org.drools.asm.Type (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


Uses of Class
org.drools.asm.Type

Packages that use Type
org.drools.asm Provides a small and fast bytecode manipulation framework. 
org.drools.asm.commons Provides some useful class and method adapters. 
 

Uses of Type in org.drools.asm
 

Fields in org.drools.asm declared as Type
static Type Type.BOOLEAN_TYPE
          The boolean type.
static Type Type.BYTE_TYPE
          The byte type.
static Type Type.CHAR_TYPE
          The char type.
static Type Type.DOUBLE_TYPE
          The double type.
static Type Type.FLOAT_TYPE
          The float type.
static Type Type.INT_TYPE
          The int type.
static Type Type.LONG_TYPE
          The long type.
static Type Type.SHORT_TYPE
          The short type.
static Type Type.VOID_TYPE
          The void type.
 

Methods in org.drools.asm that return 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 Type.getElementType()
          Returns the type of the elements of this array type.
static Type Type.getReturnType(Method method)
          Returns the Java type corresponding to the return type of the given method.
static Type Type.getReturnType(String methodDescriptor)
          Returns the Java type corresponding to the return type of the given method descriptor.
static Type Type.getType(Class c)
          Returns the Java type corresponding to the given class.
static Type Type.getType(String typeDescriptor)
          Returns the Java type corresponding to the given type descriptor.
 

Methods in org.drools.asm with parameters of type Type
static String Type.getMethodDescriptor(Type returnType, Type[] argumentTypes)
          Returns the descriptor corresponding to the given argument and return types.
static String Type.getMethodDescriptor(Type returnType, Type[] argumentTypes)
          Returns the descriptor corresponding to the given argument and return types.
 

Uses of Type in org.drools.asm.commons
 

Methods in org.drools.asm.commons that return Type
 Type[] Method.getArgumentTypes()
          Returns the argument types of the method described by this object.
 Type GeneratorAdapter.getLocalType(int local)
          Returns the type of the given local variable.
 Type Method.getReturnType()
          Returns the return type of the method described by this object.
 

Methods in org.drools.asm.commons with parameters of 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 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 GeneratorAdapter.catchException(Label start, Label end, Type exception)
          Marks the start of an exception handler.
 void GeneratorAdapter.checkCast(Type type)
          Generates the instruction to check that the top stack value is of the given 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 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 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 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 GeneratorAdapter.newLocal(Type type)
          Creates a new local variable of the given 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 GeneratorAdapter.storeLocal(int local, Type type)
          Generates the instruction to store the top stack value in the given local variable.
 void GeneratorAdapter.swap(Type prev, Type type)
          Generates the instructions to swap the top two stack values.
 void GeneratorAdapter.throwException(Type type, String msg)
          Generates the instructions to create and throw an exception.
 void GeneratorAdapter.unbox(Type type)
          Generates the instructions to unbox the top stack value.
 

Constructors in org.drools.asm.commons with parameters of type Type
GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv)
          Creates a new GeneratorAdapter.
Method(String name, Type returnType, Type[] argumentTypes)
          Creates a new Method.
Method(String name, Type returnType, Type[] argumentTypes)
          Creates a new Method.
 



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.