org.eclipse.ocl.examples.xtext.base.scoping.cs
Class BaseCSScopeAdapter<CS extends MonikeredElementCS,P extends MonikeredElement>
java.lang.Object
org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter<CS>
org.eclipse.ocl.examples.xtext.base.scoping.cs.ElementCSScopeAdapter<CS>
org.eclipse.ocl.examples.xtext.base.scoping.cs.ModelElementCSScopeAdapter<CS,P>
org.eclipse.ocl.examples.xtext.base.scoping.cs.MonikeredElementCSScopeAdapter<CS,P>
org.eclipse.ocl.examples.xtext.base.scoping.cs.BaseCSScopeAdapter<CS,P>
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, TypeManagedAdapter, ScopeAdapter, ScopeCSAdapter
- Direct Known Subclasses:
- ClassCSScopeAdapter, ConstraintCSScopeAdapter, DataTypeCSScopeAdapter, EnumCSScopeAdapter, EssentialOCLCSScopeAdapter, LambdaTypeCSScopeAdapter, LibOperationScopeAdapter, OperationCSScopeAdapter, ReferenceCSScopeAdapter, TupleTypeCSScopeAdapter
public abstract class BaseCSScopeAdapter<CS extends MonikeredElementCS,P extends MonikeredElement>
- extends MonikeredElementCSScopeAdapter<CS,P>
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter |
computeLookup, computeLookup, dispose, getDocumentScopeAdapter, getDocumentScopeAdapter, getInnerScopeView, getOuterScopeView, getParent, getScopeAdapter, getScopeCSAdapter, getSourceScope, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter.Internal |
unsetTarget |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter |
isAdapterForType, notifyChanged, setTarget |
BaseCSScopeAdapter
protected BaseCSScopeAdapter(TypeManager typeManager,
CS csElement,
java.lang.Class<P> pivotClass)
BaseCSScopeAdapter
protected BaseCSScopeAdapter(TypeManager typeManager,
org.eclipse.emf.ecore.EObject csDocumentElement,
CS csElement,
java.lang.Class<P> pivotClass)
commonConformantType
protected Type commonConformantType(Type firstTypeCS,
Type secondTypeCS)
conformsTo
protected boolean conformsTo(Type candidateType,
Type requiredType)
getConformsTo
public java.util.List<Type> getConformsTo(ClassCS csClass)
getLibraryType
public Type getLibraryType(ElementCS csElement)
- Get a library type by name
- Parameters:
name
-
- Returns:
- protected Type getLibraryType(String name) { // FIXME Change to private
return getTypeManager().getLibraryType(name, null);
}