org.apache.bcel.generic
Class BasicType
- java.io.Serializable
public final class BasicType
Denotes basic type such as int.
$Id: BasicType.java 386056 2006-03-15 11:31:56Z tcurdt $
BOOLEAN , BYTE , CHAR , CLASS , DOUBLE , FLOAT , INT , LONG , NO_ARGS , NULL , OBJECT , SHORT , STRING , STRINGBUFFER , THROWABLE , UNKNOWN , VOID , consumed_chars , signature , type |
BasicType(byte type) - Constructor for basic types such as int, long, `void'
|
equals , getArgumentTypes , getMethodSignature , getReturnType , getSignature , getSignature , getSize , getType , getType , getType , getTypes , hashCode , toString , unwrap , wrap |
BasicType
(package private) BasicType(byte type)
Constructor for basic types such as int, long, `void'
type
- one of T_INT, T_BOOLEAN, ..., T_VOID
equals
public boolean equals(Object _type)
- equals in interface Type
- true if both type objects refer to the same type
getType
public static final BasicType getType(byte type)
hashCode
public int hashCode()
- hashCode in interface Type
- a hash code value for the object.