Interface IResolvedFeatures
-
- All Known Implementing Classes:
ParameterizedResolvedFeatures,RawResolvedFeatures
public interface IResolvedFeaturesTheIResolvedFeaturesallow to obtain the actual reachable API of aJvmType. This means, it properly applies shadowing semantics and override resolution, especially if type parameters and type arguments are present. Instances ofIResolvedFeaturesare obtained viaIResolvedFeatures.Provider.getResolvedFeatures(JvmType).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIResolvedFeatures.ProviderThe Provider allows to obtain an instance of thefeaturesfor a giventype.
-
Field Summary
Fields Modifier and Type Field Description static IResolvedFeaturesNO_FEATURESConvenience access to an instance that does not hold any features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.eclipse.xtext.common.types.JvmFeature>getAllFeatures()Returns all reachable features.java.util.List<org.eclipse.xtext.common.types.JvmFeature>getAllFeatures(java.lang.String simpleName)Returns all reachable features with the givensimpleName.IResolvedFeaturesgetParameterizedView(LightweightTypeReference concrete)Applies concretely bound type arguments to this instance ofIResolvedFeatures.
-
-
-
Field Detail
-
NO_FEATURES
static final IResolvedFeatures NO_FEATURES
Convenience access to an instance that does not hold any features.
-
-
Method Detail
-
getAllFeatures
java.util.List<org.eclipse.xtext.common.types.JvmFeature> getAllFeatures(java.lang.String simpleName)
Returns all reachable features with the givensimpleName. Bound type parameters are properly considered when the override semantics are applied for these features.
-
getAllFeatures
java.util.List<org.eclipse.xtext.common.types.JvmFeature> getAllFeatures()
Returns all reachable features. Bound type parameters are properly considered when the override semantics are applied for these features.
-
getParameterizedView
IResolvedFeatures getParameterizedView(LightweightTypeReference concrete)
Applies concretely bound type arguments to this instance ofIResolvedFeatures.
-
-