public abstract class AbstractSessionBasedScope extends AbstractScope
| Modifier and Type | Class and Description | 
|---|---|
protected static interface  | 
AbstractSessionBasedScope.NameAcceptor  | 
AbstractScope.ParentIterable| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractSessionBasedScope(IScope parent,
                         IFeatureScopeSession session,
                         XAbstractFeatureCall featureCall)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Iterable<JvmFeature> | 
findAllFeaturesByName(JvmType type,
                     java.lang.String simpleName,
                     IResolvedFeatures.Provider resolvedFeaturesProvider)  | 
java.lang.Iterable<IEObjectDescription> | 
getElements(QualifiedName name)
Find all descriptions that match the given name. 
 | 
protected XAbstractFeatureCall | 
getFeatureCall()  | 
protected java.lang.Iterable<IEObjectDescription> | 
getLocalElementsByEObject(org.eclipse.emf.ecore.EObject object,
                         org.eclipse.emf.common.util.URI uri)  | 
protected abstract java.util.Collection<IEObjectDescription> | 
getLocalElementsByName(QualifiedName name)  | 
protected IFeatureScopeSession | 
getSession()  | 
protected java.lang.String | 
getShadowingKey(IEObjectDescription description)  | 
protected boolean | 
isShadowed(IEObjectDescription fromParent)
Returns  
true if the given description input from the parent scope is
 shadowed by local elements. | 
protected void | 
processAsPropertyNames(QualifiedName name,
                      AbstractSessionBasedScope.NameAcceptor acceptor)  | 
protected void | 
processFeatureNames(QualifiedName name,
                   AbstractSessionBasedScope.NameAcceptor acceptor)  | 
protected java.lang.String | 
tryGetAsPropertyName(java.lang.String name)
Returns the name as a property name, e.g. a prefix  
get, is or set 
 can be used with the result of this method. | 
getAllElements, getAllLocalElements, getElements, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toStringprotected AbstractSessionBasedScope(IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall)
protected IFeatureScopeSession getSession()
protected XAbstractFeatureCall getFeatureCall()
protected void processFeatureNames(QualifiedName name, AbstractSessionBasedScope.NameAcceptor acceptor)
protected java.lang.Iterable<JvmFeature> findAllFeaturesByName(JvmType type, java.lang.String simpleName, IResolvedFeatures.Provider resolvedFeaturesProvider)
protected void processAsPropertyNames(QualifiedName name, AbstractSessionBasedScope.NameAcceptor acceptor)
@Nullable protected java.lang.String tryGetAsPropertyName(java.lang.String name)
get, is or set 
 can be used with the result of this method.
 If the given name is invalid, the result is null.protected abstract java.util.Collection<IEObjectDescription> getLocalElementsByName(QualifiedName name)
getLocalElementsByName in class AbstractScopepublic java.lang.Iterable<IEObjectDescription> getElements(QualifiedName name)
IScopegetElements in interface IScopegetElements in class AbstractScopename - the name of the to-be-found elements. May not be null.name. Never null.protected java.lang.Iterable<IEObjectDescription> getLocalElementsByEObject(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.URI uri)
getLocalElementsByEObject in class AbstractScopeprotected java.lang.String getShadowingKey(IEObjectDescription description)
protected boolean isShadowed(IEObjectDescription fromParent)
AbstractScopetrue if the given description input from the parent scope is
 shadowed by local elements.isShadowed in class AbstractScopetrue if the given description input from the parent scope is
 shadowed by local elements.