public class NullType extends RefLikeType
Constructor and Description |
---|
NullType(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Method required for use of Switchable.
|
boolean |
equals(java.lang.Object t) |
Type |
getArrayElementType()
If I have a variable x of declared type t, what is a good
declared type for the expression ((Object[]) x)[i]? The
getArrayElementType() method in RefLikeType was introduced even
later to answer this question for all classes implementing
RefLikeType.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a textual representation of this type.
|
static NullType |
v() |
getArrayType, getEscapedName, getNumber, isAllowedInFinalCode, makeArrayType, merge, setArrayType, setNumber, toMachineType, toQuotedString
public static NullType v()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object t)
equals
in class java.lang.Object
public java.lang.String toString()
Type
public void apply(Switch sw)
Type
apply
in interface Switchable
apply
in class Type
public Type getArrayElementType()
RefLikeType
getArrayElementType
in class RefLikeType