public class EcoreIdResolver extends AbstractIdResolver
Given an initial seed of a standard library and one or more root EObjects, packages are discovered by locating all packages and nested packages directly contained by the seed roots or by the roots of any object referenced by any contained by the seed roots.
AbstractIdResolver.Id2InstanceVisitor
IdResolver.IdResolverExtension
Constructor and Description |
---|
EcoreIdResolver(Iterable<? extends EObject> roots,
ExecutorStandardLibrary standardLibrary) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
CompleteInheritance |
getInheritance(EClassifier eClassifier) |
Class |
getStaticTypeOf(Object value) |
Notifier |
getTarget() |
TupleType |
getTupleType(TupleTypeId typeId) |
TupleType |
getTupleType(TypedElement... parts) |
Class |
getType(EClassifier eClassifier) |
boolean |
isAdapterForType(Object type) |
void |
notifyChanged(Notification notification) |
void |
setTarget(Notifier newTarget) |
addRoot, basicGetPackage, boxedValueOf, boxedValueOf, boxedValueOf, boxedValueOfEnumerator, createBagOfAll, createBagOfEach, createCollectionOfAll, createCollectionOfAll, createInstance, createMapOfAll, createOrderedSetOfAll, createOrderedSetOfEach, createSequenceOfAll, createSequenceOfEach, createSetOfAll, createSetOfEach, ecoreValueOf, ecoreValueOfAll, ecoreValuesOfAll, ecoreValuesOfEach, getClass, getCollectionType, getCollectionType, getDynamicTypeOf, getDynamicTypeOf, getDynamicTypeOf, getEnvironment, getJavaType, getMapType, getModelClassesOf, getOperation, getPackage, getProperty, getStandardLibrary, getStaticTypeOf, getStaticTypeOf, getTuplePart, getTuplePart, getType, isOrdered, isUnique, oclEquals, oclHashCode, unboxedValueOf, unboxedValueOf, unboxedValuesOfAll, unboxedValuesOfEach, visitClassId, visitCollectedId, visitCollectionTypeId, visitDataTypeId, visitEnumerationId, visitEnumerationLiteralId, visitInvalidId, visitLambdaTypeId, visitMapTypeId, visitNestedPackageId, visitNsURIPackageId, visitNullId, visitOperationId, visitPrimitiveTypeId, visitPropertyId, visitRootPackageId, visitTemplateableTypeId, visitTemplateBinding, visitTemplateParameterId, visitTuplePartId, visitTupleTypeId, visitUnspecifiedId
public EcoreIdResolver(Iterable<? extends EObject> roots, ExecutorStandardLibrary standardLibrary)
public void dispose()
dispose
in interface IdResolver
dispose
in class AbstractIdResolver
public CompleteInheritance getInheritance(EClassifier eClassifier)
public Class getStaticTypeOf(Object value)
getStaticTypeOf
in interface IdResolver
getStaticTypeOf
in class AbstractIdResolver
public Notifier getTarget()
public TupleType getTupleType(TupleTypeId typeId)
getTupleType
in interface IdResolver
getTupleType
in class AbstractIdResolver
public TupleType getTupleType(TypedElement... parts)
public Class getType(EClassifier eClassifier)
public boolean isAdapterForType(Object type)
public void notifyChanged(Notification notification)
public void setTarget(Notifier newTarget)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.