com.ibm.wala.analysis.typeInference
Class PrimitiveType
java.lang.Object
com.ibm.wala.analysis.typeInference.TypeAbstraction
com.ibm.wala.analysis.typeInference.PrimitiveType
- All Implemented Interfaces:
- ContextItem
public class PrimitiveType
- extends TypeAbstraction
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BOOLEAN
public static final PrimitiveType BOOLEAN
CHAR
public static final PrimitiveType CHAR
BYTE
public static final PrimitiveType BYTE
SHORT
public static final PrimitiveType SHORT
INT
public static final PrimitiveType INT
LONG
public static final PrimitiveType LONG
FLOAT
public static final PrimitiveType FLOAT
DOUBLE
public static final PrimitiveType DOUBLE
meet
public TypeAbstraction meet(TypeAbstraction rhs)
- Specified by:
meet in class TypeAbstraction
size
public int size()
hashCode
public int hashCode()
- Specified by:
hashCode in class TypeAbstraction
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals in class TypeAbstraction
- See Also:
Object.equals(Object)
getType
public IClass getType()
- Description copied from class:
TypeAbstraction
- This is here for convenience; it makes sense for Point and Cone Dispatch.
TODO: probably should get rid of it.
- Overrides:
getType in class TypeAbstraction
getTypeReference
public TypeReference getTypeReference()
- Description copied from class:
TypeAbstraction
- A TypeReference representing the types of this abstraction
- Specified by:
getTypeReference in class TypeAbstraction
getPrimitive
public static PrimitiveType getPrimitive(TypeReference reference)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object