public abstract class TypeImpl extends NamedElementImpl implements Type
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
EObject |
createInstance()
Deprecated.
caller can do better without this bad helper method.
|
Object |
createInstance(String value)
Deprecated.
caller can do better without this bad helper method.
|
Object |
eInvoke(int operationID,
<any> arguments) |
Type |
flattenedType() |
Type |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
Package |
getPackage() |
TemplateParameters |
getTypeParameters() |
Class |
isClass() |
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type type)
Return true if this is the same type as thatType within standardLibrary.
|
boolean |
isEqualToUnspecializedType(StandardLibrary standardLibrary,
Type type) |
TemplateParameter |
isTemplateParameter() |
boolean |
oclEquals(OCLValue thatValue)
Return true if this is an equivalent OCL value to thatValue.
|
int |
oclHashCode() |
Type |
specializeIn(CallExp expr,
Type selfType) |
String |
toString() |
eGet, eIsSet, eSet, eUnset, getName, setName
allOwnedElements, eInverseAdd, eInverseRemove, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
conformsTo, getInheritance, getNormalizedType, getTypeId
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public TemplateParameter isTemplateParameter()
isTemplateParameter
in interface Type
public Type specializeIn(CallExp expr, Type selfType)
specializeIn
in interface Type
public Type flattenedType()
flattenedType
in interface Type
public Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke
in class ElementImpl
InvocationTargetException
public String toString()
toString
in class NamedElementImpl
public <R> R accept(Visitor<R> visitor)
Element
@Deprecated public EObject createInstance()
@Deprecated public Object createInstance(String value)
public Type getCommonType(IdResolver idResolver, Type type)
Type
getCommonType
in interface Type
public boolean isEqualTo(StandardLibrary standardLibrary, Type type)
Type
public boolean isEqualToUnspecializedType(StandardLibrary standardLibrary, Type type)
isEqualToUnspecializedType
in interface Type
public boolean oclEquals(OCLValue thatValue)
OCLValue
Note that the caller must check that the argument is an OCLValue and should also check for the shortcut case that this == thatValue. Implementations are therefore wasting time if they re-implement the shortcut.
public int oclHashCode()
oclHashCode
in interface OCLValue
public Package getPackage()
public TemplateParameters getTypeParameters()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.