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, setNameallOwnedElements, eInverseAdd, eInverseRemove, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitconformsTo, getInheritance, getNormalizedType, getTypeIdgetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic TemplateParameter isTemplateParameter()
isTemplateParameter in interface Typepublic Type specializeIn(CallExp expr, Type selfType)
specializeIn in interface Typepublic Type flattenedType()
flattenedType in interface Typepublic Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke in class ElementImplInvocationTargetExceptionpublic String toString()
toString in class NamedElementImplpublic <R> R accept(Visitor<R> visitor)
Element@Deprecated public EObject createInstance()
@Deprecated public Object createInstance(String value)
public Type getCommonType(IdResolver idResolver, Type type)
TypegetCommonType in interface Typepublic boolean isEqualTo(StandardLibrary standardLibrary, Type type)
Typepublic boolean isEqualToUnspecializedType(StandardLibrary standardLibrary, Type type)
isEqualToUnspecializedType in interface Typepublic boolean oclEquals(OCLValue thatValue)
OCLValueNote 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 OCLValuepublic Package getPackage()
public TemplateParameters getTypeParameters()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.