- All Implemented Interfaces:
Serializable
public final class BasicType
extends Type
Denotes basic type such as int.
- See Also:
-
-
Field Summary
Fields inherited from class org.apache.bcel.generic.Type
BOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, signature, STRING, STRINGBUFFER, THROWABLE, type, UNKNOWN, VOID
-
Method Summary
Methods inherited from class org.apache.bcel.generic.Type
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, getTypes, toString
-
Method Details
-
getType
public static final BasicType getType(byte type)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class Type
- Returns:
- a hash code value for the object.
-
equals
public boolean equals(Object _type)
- Overrides:
equals
in class Type
- Returns:
- true if both type objects refer to the same type