org.eclipse.xtext.xbase.scoping.batch
Class FeatureScopeSession
java.lang.Object
org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSession
- All Implemented Interfaces:
- IFeatureScopeSession
- Direct Known Subclasses:
- FeatureScopeSessionWithDynamicExtensions, FeatureScopeSessionWithLocalElements, FeatureScopeSessionWithStaticTypes
@NonNullByDefault
public class FeatureScopeSession
- extends AbstractFeatureScopeSession
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureScopeSession
public FeatureScopeSession(AbstractFeatureScopeSession parent,
FeatureScopeProvider featureScopeProvider)
getScopeProvider
protected IScopeProvider getScopeProvider()
- Specified by:
getScopeProvider
in class AbstractFeatureScopeSession
getFeatureScopeProvider
protected FeatureScopeProvider getFeatureScopeProvider()
- Specified by:
getFeatureScopeProvider
in class AbstractFeatureScopeSession
getParent
protected AbstractFeatureScopeSession getParent()
getLocalElement
@Nullable
public IEObjectDescription getLocalElement(QualifiedName name)
addLocalElements
protected void addLocalElements(java.util.List<IEObjectDescription> result)
- Overrides:
addLocalElements
in class AbstractFeatureScopeSession
- Parameters:
result
- the list of all local elements. Shadowing semantics does not have to be applied.
getStaticallyImportedTypes
public java.util.List<TypeBucket> getStaticallyImportedTypes()
- Specified by:
getStaticallyImportedTypes
in interface IFeatureScopeSession
- Overrides:
getStaticallyImportedTypes
in class AbstractFeatureScopeSession
getStaticallyImportedExtensionTypes
public java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()
- Specified by:
getStaticallyImportedExtensionTypes
in interface IFeatureScopeSession
- Overrides:
getStaticallyImportedExtensionTypes
in class AbstractFeatureScopeSession
getId
protected int getId()
- Specified by:
getId
in class AbstractFeatureScopeSession