Class UnboundTypeParameterPreservingSubstitutor
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.references.TypeReferenceVisitorWithParameterAndResult<Visiting,LightweightTypeReference>
-
- org.eclipse.xtext.xbase.typesystem.util.TypeParameterSubstitutor<java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>>
-
- org.eclipse.xtext.xbase.typesystem.util.UnboundTypeParameterPreservingSubstitutor
-
public class UnboundTypeParameterPreservingSubstitutor extends TypeParameterSubstitutor<java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>>
-
-
Constructor Summary
Constructors Constructor Description UnboundTypeParameterPreservingSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, ITypeReferenceOwner owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>createVisiting()protected LightweightTypeReferencedoVisitUnboundTypeReference(UnboundTypeReference reference, java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter> visiting)protected LightweightTypeReferencegetBoundTypeArgument(ParameterizedTypeReference reference, org.eclipse.xtext.common.types.JvmTypeParameter type, java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter> visiting)-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.util.TypeParameterSubstitutor
copy, doVisitAnyTypeReference, doVisitArrayTypeReference, doVisitCompoundTypeReference, doVisitFunctionTypeReference, doVisitInnerFunctionTypeReference, doVisitInnerTypeReference, doVisitParameterizedTypeReference, doVisitParameterizedTypeReference, doVisitUnknownTypeReference, doVisitWildcardTypeReference, enhanceFunctionType, enhanceMapping, enhanceParameterizedTypeReference, getOwner, getTypeParameterMapping, substitute, substitute, toString, visitTypeArgument, visitTypeArgument
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.references.TypeReferenceVisitorWithParameterAndResult
doVisitMultiTypeReference, doVisitSynonymTypeReference, doVisitTypeReference
-
-
-
-
Constructor Detail
-
UnboundTypeParameterPreservingSubstitutor
public UnboundTypeParameterPreservingSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, ITypeReferenceOwner owner)
-
-
Method Detail
-
doVisitUnboundTypeReference
protected LightweightTypeReference doVisitUnboundTypeReference(UnboundTypeReference reference, java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter> visiting)
- Overrides:
doVisitUnboundTypeReferencein classTypeReferenceVisitorWithParameterAndResult<java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>,LightweightTypeReference>
-
getBoundTypeArgument
protected LightweightTypeReference getBoundTypeArgument(ParameterizedTypeReference reference, org.eclipse.xtext.common.types.JvmTypeParameter type, java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter> visiting)
- Overrides:
getBoundTypeArgumentin classTypeParameterSubstitutor<java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>>
-
createVisiting
protected java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter> createVisiting()
- Specified by:
createVisitingin classTypeParameterSubstitutor<java.util.Set<org.eclipse.xtext.common.types.JvmTypeParameter>>
-
-