Метод | Описание | |
---|---|---|
FromType ( string type, |
Create type information from an internal type. Create type information from an internal type. |
|
GetClassFromInternalName ( string internalName ) : |
Take an internal name and return a java.lang.Class instance that represents it. Take an internal name and return a java.lang.Class instance that represents it. For example, given "java/lang/Object", returns the equivalent of Class.forName("java.lang.Object"), but also handles exceptions. |
|
GetPayload ( int typeInfo ) : int | ||
GetPayloadAsType ( int typeInfo, ConstantPool pool ) : string |
Treat the result of getPayload as a constant pool index and fetch the corresponding String mapped to it. Treat the result of getPayload as a constant pool index and fetch the corresponding String mapped to it. Only works on OBJECT types. |
|
GetTag ( int typeInfo ) : int | ||
IsTwoWords ( int type ) : bool | ||
Merge ( int current, int incoming, ConstantPool pool ) : int |
Merge two verification types. Merge two verification types. In most cases, the verification types must be the same. For example, INTEGER and DOUBLE cannot be merged and an exception will be thrown. The basic rules are: - If the types are equal, simply return one. - If either type is TOP, return TOP. - If either type is NULL, return the other type. - If both types are objects, find the lowest common ancestor in the class hierarchy. This method uses reflection to traverse the class hierarchy. Therefore, it is assumed that the current class being generated is never the target of a full object-object merge, which would need to load the current class reflectively. |
|
OBJECT ( int constantPoolIndex ) : int | ||
OBJECT ( string type, ConstantPool pool ) : int | ||
Print ( int locals, int stack, ConstantPool pool ) : void | ||
Print ( int locals, int localsTop, int stack, int stackTop, ConstantPool pool ) : void | ||
ToString ( int type, ConstantPool pool ) : string | ||
ToString ( int types, int typesTop, ConstantPool pool ) : string | ||
TypeInfo ( ) : System | ||
UNINITIALIZED_VARIABLE ( int bytecodeOffset ) : int |