@Deprecated
public interface IJvmFeatureScopeProvider
JvmFeatureDescription
s contained in the provided Scope.Modifier and Type | Interface and Description |
---|---|
static class |
IJvmFeatureScopeProvider.FeatureScopeDescription
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JvmFeatureScope |
createFeatureScope(IScope parent,
java.util.List<IJvmFeatureScopeProvider.FeatureScopeDescription> featureScopeDescriptions)
Deprecated.
Provides the feature scope for a given
JvmTypeReference , using the given IJvmFeatureDescriptionProvider . |
JvmFeatureScope createFeatureScope(IScope parent, java.util.List<IJvmFeatureScopeProvider.FeatureScopeDescription> featureScopeDescriptions)
Provides the feature scope for a given JvmTypeReference
, using the given IJvmFeatureDescriptionProvider
.
It traverses the type hierarchy of the given JvmTypeReference
for each
IJvmFeatureDescriptionProvider
passed to this method subsequent in the order they are provided.
For a sugared scope, you'd typical pass in two IJvmFeatureDescriptionProvider
s the first one will create the primary features,
the second will create sugared elements.
JvmFeatureDescription
s marked as invalid JvmFeatureDescription.isValid()
, will be sorted last (even after sugar). This ensures that
it is shadowed by valid elements and can be filtered out if not needed.
featureScopeDescriptions
- the description of the feature scopes whose contents should be provided.