Class FeatureScopeSessionWithNamedStaticTypes
- java.lang.Object
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
-
- org.eclipse.xtext.xbase.scoping.batch.FeatureScopeSessionWithNamedStaticTypes
-
- All Implemented Interfaces:
IFeatureScopeSession
,IVisibilityHelper
public class FeatureScopeSessionWithNamedStaticTypes extends AbstractNestedFeatureScopeSession
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Constructor Description FeatureScopeSessionWithNamedStaticTypes(AbstractFeatureScopeSession featureScopeSession, java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> staticFeatureProviders, java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> extensionProviders, IResolvedFeatures.Provider resolvedFeaturesProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<TypeBucket>
concatTypeBuckets(java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> types, java.util.List<TypeBucket> parentResult, IResolvedFeatures.Provider resolvedFeaturesProvider)
java.util.List<TypeBucket>
getStaticallyImportedExtensionTypes()
All statically imported extension types as type buckets.java.util.List<TypeBucket>
getStaticallyImportedTypes()
All statically imported types as type buckets.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractNestedFeatureScopeSession
addExtensionProviders, addLocalElements, getConstructorScopes, getDefaultScopeProvider, getEnclosingTypes, getExtensionProviders, getFeatureScopes, getId, getLocalElement, getNestedTypeDeclarators, getNextCaptureLayer, getParent, getResolvedFeaturesProvider, getTypeScopes, isConstructorContext, isInstanceContext, isVisible, isVisible
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractFeatureScopeSession
addImports, addLocalElement, addLocalElements, addNestedTypesToScope, addToExtensionScope, addTypesToStaticScope, captureLocalElements, createConstructorScope, createFeatureCallScope, createTypeScope, dropLocalElements, getLocalElements, getScope, toConstructorContext, toInstanceContext, tryCreateNestedSessionWithVisibilityContext
-
-
-
-
Constructor Detail
-
FeatureScopeSessionWithNamedStaticTypes
public FeatureScopeSessionWithNamedStaticTypes(AbstractFeatureScopeSession featureScopeSession, java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> staticFeatureProviders, java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> extensionProviders, IResolvedFeatures.Provider resolvedFeaturesProvider)
-
-
Method Detail
-
concatTypeBuckets
protected java.util.List<TypeBucket> concatTypeBuckets(java.util.Map<? extends org.eclipse.xtext.common.types.JvmType,java.util.Set<java.lang.String>> types, java.util.List<TypeBucket> parentResult, IResolvedFeatures.Provider resolvedFeaturesProvider)
-
getStaticallyImportedTypes
public java.util.List<TypeBucket> getStaticallyImportedTypes()
Description copied from interface:IFeatureScopeSession
All statically imported types as type buckets. The list has usually two elements:- The implicitly imported types as a single bucket.
- The explicitly imported types as a single bucket.
- Specified by:
getStaticallyImportedTypes
in interfaceIFeatureScopeSession
- Overrides:
getStaticallyImportedTypes
in classAbstractNestedFeatureScopeSession
-
getStaticallyImportedExtensionTypes
public java.util.List<TypeBucket> getStaticallyImportedExtensionTypes()
Description copied from interface:IFeatureScopeSession
All statically imported extension types as type buckets. The list has usually two elements:- The implicitly available extensions as a single bucket.
- The explicitly imported extensions as a single bucket.
- Specified by:
getStaticallyImportedExtensionTypes
in interfaceIFeatureScopeSession
- Overrides:
getStaticallyImportedExtensionTypes
in classAbstractNestedFeatureScopeSession
-
-