public interface IResolvedFeatures
IResolvedFeatures allow to obtain the actual reachable API of a JvmType.
This means, it properly applies shadowing semantics and override resolution, especially
if type parameters and type arguments are present.
Instances of IResolvedFeatures are obtained via
IResolvedFeatures.Provider.getResolvedFeatures(JvmType).| Modifier and Type | Interface and Description |
|---|---|
static class |
IResolvedFeatures.Provider
The Provider allows to obtain an instance of the
features for
a given type. |
| Modifier and Type | Field and Description |
|---|---|
static IResolvedFeatures |
NO_FEATURES
Convenience access to an instance that does not hold any features.
|
| Modifier and Type | Method and 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 given
simpleName. |
IResolvedFeatures |
getParameterizedView(LightweightTypeReference concrete)
Applies concretely bound type arguments to this instance of
IResolvedFeatures. |
static final IResolvedFeatures NO_FEATURES
java.util.List<org.eclipse.xtext.common.types.JvmFeature> getAllFeatures(java.lang.String simpleName)
simpleName.
Bound type parameters are properly considered when the override semantics are applied for
these features.java.util.List<org.eclipse.xtext.common.types.JvmFeature> getAllFeatures()
IResolvedFeatures getParameterizedView(LightweightTypeReference concrete)
IResolvedFeatures.