public abstract class PrimitiveType extends TypeAbstraction
JavaPrimitiveTypeContextItem.Value<T>| Modifier and Type | Field and Description |
|---|---|
protected TypeReference |
reference |
protected static Map<TypeReference,PrimitiveType> |
referenceToType |
protected int |
size |
TOP| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveType(TypeReference reference,
int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static PrimitiveType |
getPrimitive(TypeReference reference) |
IClass |
getType()
This is here for convenience; it makes sense for Point and Cone Dispatch.
|
TypeReference |
getTypeReference()
A TypeReference representing the types of this abstraction
|
int |
hashCode() |
TypeAbstraction |
meet(TypeAbstraction rhs) |
int |
size() |
String |
toString() |
protected static final Map<TypeReference,PrimitiveType> referenceToType
protected final TypeReference reference
protected final int size
protected PrimitiveType(TypeReference reference, int size)
public static PrimitiveType getPrimitive(TypeReference reference)
public TypeAbstraction meet(TypeAbstraction rhs)
meet in class TypeAbstractionpublic int size()
public int hashCode()
hashCode in class TypeAbstractionpublic boolean equals(Object other)
equals in class TypeAbstractionpublic IClass getType()
TypeAbstractiongetType in class TypeAbstractionpublic TypeReference getTypeReference()
TypeAbstractiongetTypeReference in class TypeAbstractionCopyright © 2015. All rights reserved.