org.eclipse.xtext.xbase.scoping.batch
Class AbstractStaticImportsScope

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScope
      extended by org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
          extended by org.eclipse.xtext.xbase.scoping.batch.AbstractStaticImportsScope
All Implemented Interfaces:
IScope
Direct Known Subclasses:
StaticExtensionImportsScope, StaticImportsScope

public abstract class AbstractStaticImportsScope
extends AbstractSessionBasedScope

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
AbstractScope.ParentIterable
 
Field Summary
 
Fields inherited from interface org.eclipse.xtext.scoping.IScope
NULLSCOPE
 
Constructor Summary
AbstractStaticImportsScope(IScope parent, IFeatureScopeSession session, XAbstractFeatureCall context)
           
 
Method Summary
protected  void addDescriptions(JvmFeature feature, TypeBucket bucket, java.util.List<IEObjectDescription> result)
           
protected  BucketedEObjectDescription createNamedDescription(QualifiedName name, JvmFeature feature, TypeBucket bucket)
           
protected  java.lang.Iterable<IEObjectDescription> getAllLocalElements()
           
protected abstract  java.util.List<TypeBucket> getBuckets()
           
protected  java.util.Collection<IEObjectDescription> getLocalElementsByName(QualifiedName name)
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
getElements, getFeatureCall, getFeatureName, getLocalElementsByEObject, getSession, getShadowingKey, isShadowed
 
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractScope
getAllElements, getElements, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractStaticImportsScope

public AbstractStaticImportsScope(IScope parent,
                                  IFeatureScopeSession session,
                                  XAbstractFeatureCall context)
Method Detail

getAllLocalElements

protected java.lang.Iterable<IEObjectDescription> getAllLocalElements()
Specified by:
getAllLocalElements in class AbstractScope

addDescriptions

protected void addDescriptions(JvmFeature feature,
                               TypeBucket bucket,
                               java.util.List<IEObjectDescription> result)

getBuckets

protected abstract java.util.List<TypeBucket> getBuckets()

getLocalElementsByName

protected java.util.Collection<IEObjectDescription> getLocalElementsByName(QualifiedName name)
Specified by:
getLocalElementsByName in class AbstractSessionBasedScope

createNamedDescription

protected BucketedEObjectDescription createNamedDescription(QualifiedName name,
                                                            JvmFeature feature,
                                                            TypeBucket bucket)