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, toQuotedStringpublic static NullType v()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object t)
equals in class java.lang.Objectpublic java.lang.String toString()
Typepublic void apply(Switch sw)
Typeapply in interface Switchableapply in class Typepublic Type getArrayElementType()
RefLikeTypegetArrayElementType in class RefLikeType