/** * Creates a scope for the statically imported features. * * @param featureCall the feature call that is currently processed by the scoping infrastructure * @param parent the parent scope. Is never null. * @param session the currently known scope session. Is never null. */ protected IScope createStaticFeaturesScope(EObject featureCall, IScope parent, IFeatureScopeSession session) { return new StaticImportsScope(parent, session, asAbstractFeatureCall(featureCall)); }
@Override protected List<TypeBucket> getBuckets() { return getSession().getStaticallyImportedTypes(); }
@Override protected BucketedEObjectDescription createDescription(QualifiedName name, JvmFeature feature, TypeBucket bucket) { return new StaticFeatureDescription(name, feature, bucket.getId(), getSession().isVisible(feature)); }