org.apache.bcel.generic

Class BasicType

Implemented Interfaces:
java.io.Serializable

public final class BasicType
extends Type

Denotes basic type such as int.
Version:
$Id: BasicType.java,v 1.1.1.1 2001/10/29 20:00:06 jvanzyl Exp $
Author:
M. Dahm
See Also:
Serialized Form

Field Summary

Fields inherited from class org.apache.bcel.generic.Type

BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, STRING, STRINGBUFFER, THROWABLE, UNKNOWN, VOID, signature, type

Method Summary

boolean
equals(Object type)
static BasicType
getType(byte type)

Methods inherited from class org.apache.bcel.generic.Type

getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, toString

Method Details

equals

public boolean equals(Object type)
Returns:
true if both type objects refer to the same type

getType

public static final BasicType getType(byte type)