org.apache.bcel.generic

Class BasicType

public final class BasicType extends Type

Denotes basic type such as int.

Version: $Id: BasicType.java 386056 2006-03-15 11:31:56Z tcurdt $

Author: M. Dahm

Constructor Summary
BasicType(byte type)
Constructor for basic types such as int, long, `void'
Method Summary
booleanequals(Object _type)
static BasicTypegetType(byte type)
inthashCode()

Constructor Detail

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: Constants

Method Detail

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)

hashCode

public int hashCode()

Returns: a hash code value for the object.