Package org.apache.bcel.generic
Class BasicType
java.lang.Object
org.apache.bcel.generic.Type
org.apache.bcel.generic.BasicType
Denotes basic type such as int.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.bcel.generic.Type
consumed, encode, getArgumentTypes, getArgumentTypesSize, getClassName, getMethodSignature, getReturnType, getReturnTypeSize, getSignature, getSignature, getSize, getType, getType, getType, getTypes, getTypeSize, internalTypeNameToSignature, normalizeForStackOrLocal, size, toString
-
Constructor Details
-
BasicType
BasicType(byte type) Constructor for basic types such as int, long, 'void'- Parameters:
type- one of T_INT, T_BOOLEAN, ..., T_VOID.- See Also:
-
-
Method Details
-
getType
Gets the BasicType for the given type constant.- Parameters:
type- The type constant.- Returns:
- The BasicType.
- Since:
- 6.0
-
equals
-
hashCode
public int hashCode()Description copied from class:TypeGets the hash code of this Type.
-