public abstract class AbstractResolvedFeature<T extends org.eclipse.xtext.common.types.JvmFeature> extends java.lang.Object implements IResolvedFeature
| Constructor and Description |
|---|
AbstractResolvedFeature(T declaration,
LightweightTypeReference contextType) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> |
computeContextTypeParameterMapping() |
LightweightTypeReference |
getContextType()
Returns the current context type.
|
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> |
getContextTypeParameterMapping() |
T |
getDeclaration()
Returns the declared feature that is resolved.
|
LightweightTypeReference |
getResolvedDeclarator()
Returns the resolved type of the declarator of this
declaration. |
protected LightweightTypeReference |
getResolvedReference(org.eclipse.xtext.common.types.JvmTypeReference unresolved) |
protected java.util.List<LightweightTypeReference> |
getResolvedReferences(java.util.List<org.eclipse.xtext.common.types.JvmTypeReference> unresolved) |
protected TypeParameterSubstitutor<?> |
getSubstitutor() |
protected boolean |
isRawTypeInheritance() |
protected boolean |
isResolvedTypeParameter(org.eclipse.xtext.common.types.JvmTypeParameter typeParameter)
Allows to refuse a certain type parameter to be substituted.
|
protected boolean |
isResolvedTypeParameter(LightweightTypeReference typeReference,
org.eclipse.xtext.common.types.JvmTypeParameter typeParameter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResolvedErasureSignature, getResolvedSignature, getSimpleSignaturepublic AbstractResolvedFeature(T declaration, LightweightTypeReference contextType)
public T getDeclaration()
IResolvedFeaturegetDeclaration in interface IResolvedFeaturepublic LightweightTypeReference getContextType()
IResolvedFeaturegetContextType in interface IResolvedFeaturepublic LightweightTypeReference getResolvedDeclarator()
IResolvedFeaturedeclaration.getResolvedDeclarator in interface IResolvedFeatureprotected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> getContextTypeParameterMapping()
protected java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> computeContextTypeParameterMapping()
protected LightweightTypeReference getResolvedReference(org.eclipse.xtext.common.types.JvmTypeReference unresolved)
protected java.util.List<LightweightTypeReference> getResolvedReferences(java.util.List<org.eclipse.xtext.common.types.JvmTypeReference> unresolved)
protected boolean isResolvedTypeParameter(org.eclipse.xtext.common.types.JvmTypeParameter typeParameter)
typeParameter - the type parameter that should be substituted.false if the parameter may be substituted. true if it should be preserved.protected boolean isResolvedTypeParameter(LightweightTypeReference typeReference, org.eclipse.xtext.common.types.JvmTypeParameter typeParameter)
protected TypeParameterSubstitutor<?> getSubstitutor()
protected boolean isRawTypeInheritance()