edu.umd.cs.findbugs.ba
Class NullType

java.lang.Object
  extended by org.apache.bcel.generic.Type
      extended by edu.umd.cs.findbugs.ba.NullType
All Implemented Interfaces:
ExtendedTypes, java.io.Serializable

public class NullType
extends org.apache.bcel.generic.Type
implements ExtendedTypes

Special type representing the null value. This is a type which is higher in the lattice than any object type, but lower than the overall Top type. It represents the type of the null value, which may logically be merged with any object type without loss of information.

Author:
David Hovemeyer
See Also:
TypeAnalysis, TypeFrame, TypeMerger, Serialized Form

Field Summary
private static org.apache.bcel.generic.Type theInstance
           
 
Fields inherited from class org.apache.bcel.generic.Type
BOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, signature, STRING, STRINGBUFFER, THROWABLE, type, UNKNOWN, VOID
 
Fields inherited from interface edu.umd.cs.findbugs.ba.ExtendedTypes
T_AVAIL_TYPE, T_BOTTOM, T_DOUBLE_EXTRA, T_EXCEPTION, T_LONG_EXTRA, T_NULL, T_TOP
 
Constructor Summary
private NullType()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
static org.apache.bcel.generic.Type instance()
           
 
Methods inherited from class org.apache.bcel.generic.Type
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, getTypes, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

theInstance

private static final org.apache.bcel.generic.Type theInstance
Constructor Detail

NullType

private NullType()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

instance

public static org.apache.bcel.generic.Type instance()