public final class Type
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Type |
ARRAY |
int |
arraydepth |
char |
base |
static Type |
BOOLARRAY |
static Type |
BOOLEAN |
static Type |
BYTE |
static Type |
BYTEARRAY |
static Type |
CHAR |
static Type |
CHARARRAY |
static Type |
CLASS |
static Type |
CLASSARRAY |
static Type |
CLONEABLE |
java.lang.String |
cname |
static Type |
DASH |
static Type |
DOUBLE |
static Type |
DOUBLEARRAY |
java.lang.Object |
extra |
static Type |
FLOAT |
static Type |
FLOATARRAY |
static Type |
INT |
static Type |
INTARRAY |
static Type |
LONG |
static Type |
LONGARRAY |
static Type |
NULL |
static Type |
OBJECT |
static Type |
PRINTSTREAM |
static Type |
REFARRAY |
static Type |
RETADDR |
static Type |
SERIALIZABLE |
static Type |
SHORT |
static Type |
SHORTARRAY |
static Type |
STRING |
static Type |
STRINGARRAY |
static Type |
STRINGBUFFER |
static Type |
THROWABLE |
static int |
VM_ADDRESS |
static int |
VM_DOUBLE |
static int |
VM_FLOAT |
static int |
VM_INT |
static int |
VM_LONG |
static int |
VM_RETADDR |
static Type |
VOID |
Constructor and Description |
---|
Type(char ch) |
Type(char ch,
int d) |
Type(char ch,
int d,
java.lang.String s) |
Type(char ch,
int d,
java.lang.String s,
java.lang.Object x) |
Type(ClassInfo cr) |
Type(java.lang.Object o) |
Type(java.lang.String s) |
Type(java.lang.String s,
int d) |
Type(Type t) |
Modifier and Type | Method and Description |
---|---|
boolean |
basicly_equalls(Type t) |
int |
category() |
static Type |
class2type(java.lang.String cname) |
Type |
compType() |
int |
count()
this should be the same function as "category"
|
java.lang.String |
declaration() |
boolean |
equals(java.lang.Object o) |
ClassInfo |
getClassInfo() |
int |
hashCode() |
boolean |
isa(Type t) |
boolean |
isPrimitive() |
boolean |
isRef() |
boolean |
isUninitialized() |
java.lang.String |
jniType() |
Type |
merge(Type t) |
static Type |
merge(Type a,
Type b)
Merges types, i.e.
|
Type |
popbracket() |
Type |
popbrackets() |
Type |
rawType() |
java.lang.Class |
realclass() |
Type |
refType() |
java.lang.String |
toClassRef() |
java.lang.String |
toString() |
java.lang.String |
unpackMethod() |
int |
vmType() |
java.lang.String |
wrapperClass() |
public static final int VM_INT
public static final int VM_ADDRESS
public static final int VM_FLOAT
public static final int VM_LONG
public static final int VM_DOUBLE
public static final int VM_RETADDR
public char base
public int arraydepth
public java.lang.String cname
public java.lang.Object extra
public static final Type VOID
public static final Type INT
public static final Type BOOLEAN
public static final Type BYTE
public static final Type CHAR
public static final Type SHORT
public static final Type FLOAT
public static final Type LONG
public static final Type DOUBLE
public static final Type RETADDR
public static final Type DASH
public static final Type NULL
public static final Type ARRAY
public static final Type SHORTARRAY
public static final Type CHARARRAY
public static final Type INTARRAY
public static final Type BOOLARRAY
public static final Type BYTEARRAY
public static final Type DOUBLEARRAY
public static final Type FLOATARRAY
public static final Type LONGARRAY
public static final Type STRING
public static final Type STRINGBUFFER
public static final Type OBJECT
public static final Type CLASS
public static final Type THROWABLE
public static final Type CLONEABLE
public static final Type SERIALIZABLE
public static final Type REFARRAY
public static final Type CLASSARRAY
public static final Type STRINGARRAY
public static final Type PRINTSTREAM
public Type(ClassInfo cr)
public Type(char ch)
public Type(char ch, int d)
public Type(char ch, int d, java.lang.String s)
public Type(char ch, int d, java.lang.String s, java.lang.Object x)
public Type(java.lang.String s, int d)
public Type(Type t)
public Type(java.lang.String s) throws ParseException
ParseException
public Type(java.lang.Object o)
public java.lang.String toClassRef()
public java.lang.String declaration()
public static Type merge(Type a, Type b) throws ClassFileException
ClassFileException
public boolean isa(Type t) throws ClassFileException
ClassFileException
public boolean isUninitialized()
public Type merge(Type t) throws ClassFileException
ClassFileException
public static Type class2type(java.lang.String cname)
public Type popbracket() throws java.lang.RuntimeException
java.lang.RuntimeException
public Type popbrackets()
public boolean basicly_equalls(Type t)
public boolean isPrimitive()
public boolean isRef()
public java.lang.String wrapperClass()
public Type refType()
public java.lang.String unpackMethod()
public int vmType()
public Type compType()
public Type rawType()
public int category()
public int count()
category
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClassInfo getClassInfo() throws ClassFileException
ClassFileException
public java.lang.Class realclass()
public java.lang.String jniType()