public class JavaType extends AbstractExecutorClass
AbstractInheritance.FragmentIterable
ABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
boolean |
conformsTo(StandardLibrary standardLibrary,
Type thatType)
Return true if this type conform to thatType within standardLibrary.
|
Class |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the inheritance description for this type within standardLibrary.
|
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type thatType)
Return true if this is the same type as thatType within standardLibrary.
|
Operation |
lookupActualOperation(StandardLibrary standardLibrary,
Operation apparentOperation) |
LibraryFeature |
lookupImplementation(StandardLibrary standardLibrary,
Operation apparentOperation)
Return the dynamic (overloaded) implementation of the staticOperation applicable to the types managed
by the given Standard Library.
|
String |
toString() |
createInstance, createInstance, getBehavioralClass, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedBindings, getOwnedConstraints, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwnedSignature, getOwningPackage, getSuperClasses, getTypeParameters, getUnspecializedElement, isIsAbstract, isIsActive, isIsInterface, isIsSerializable, isOrdered, isUnique, setBehavioralClass, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setIsSerializable, setOwnedSignature, setOwningPackage, setUnspecializedElement, validateNameIsNotNull, validateUniqueInvariantName
flattenedType, getAllProperSuperFragments, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getMemberOperation, getMemberProperty, getNormalizedType, getPivotClass, getSelfFragment, getSuperFragments, isClass, isEqualToUnspecializedType, isTemplateParameter, oclEquals, oclHashCode, specializeIn
getCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupLocalOperation
getName, setName
accept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
flattenedType, getNormalizedType, isClass, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public JavaType(Class<?> javaClass)
public boolean conformsTo(StandardLibrary standardLibrary, Type thatType)
Type
conformsTo
in interface Type
conformsTo
in class AbstractExecutorType
public Class getCommonType(IdResolver idResolver, Type type)
Type
getCommonType
in interface Type
getCommonType
in class AbstractExecutorType
public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
Type
getInheritance
in interface Type
getInheritance
in class AbstractExecutorClass
public TypeId getTypeId()
Type
getTypeId
in interface Type
getTypeId
in class AbstractExecutorType
public boolean isEqualTo(StandardLibrary standardLibrary, Type thatType)
Type
isEqualTo
in interface Type
isEqualTo
in class AbstractExecutorType
public Operation lookupActualOperation(StandardLibrary standardLibrary, Operation apparentOperation)
lookupActualOperation
in interface Class
lookupActualOperation
in interface CompleteInheritance
lookupActualOperation
in class AbstractInheritance
public LibraryFeature lookupImplementation(StandardLibrary standardLibrary, Operation apparentOperation)
CompleteInheritance
lookupImplementation
in interface Class
lookupImplementation
in interface CompleteInheritance
lookupImplementation
in class AbstractInheritance
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.