public class TypeParameterByConstraintSubstitutor extends CustomTypeParameterSubstitutor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypeParameterByConstraintSubstitutor.DeclaredConstraintVisitingInfo |
| Constructor and Description |
|---|
TypeParameterByConstraintSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping,
ITypeReferenceOwner owner) |
TypeParameterByConstraintSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping,
ITypeReferenceOwner owner,
boolean ignoreDeclaredTypeParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected TypeParameterByConstraintSubstitutor.DeclaredConstraintVisitingInfo |
createVisiting() |
protected LightweightTypeReference |
doVisitUnboundTypeReference(UnboundTypeReference reference,
ConstraintVisitingInfo visiting) |
protected LightweightTypeReference |
getDeclaredUpperBound(org.eclipse.xtext.common.types.JvmTypeParameter typeParameter,
ConstraintVisitingInfo visiting) |
protected LightweightTypeReference |
getUnmappedSubstitute(ParameterizedTypeReference reference,
org.eclipse.xtext.common.types.JvmTypeParameter type,
ConstraintVisitingInfo visiting) |
LightweightTypeReference |
substitute(org.eclipse.xtext.common.types.JvmTypeParameter original) |
protected LightweightTypeReference |
visitTypeArgument(LightweightTypeReference reference,
ConstraintVisitingInfo visiting,
boolean lowerBound) |
createVisiting, doVisitParameterizedTypeReference, enhanceParameterizedTypeReference, getBoundTypeArgument, getDeclaredUpperBound, getObjectReference, isDeclaredTypeParameter, substitutecopy, doVisitAnyTypeReference, doVisitArrayTypeReference, doVisitCompoundTypeReference, doVisitFunctionTypeReference, doVisitInnerFunctionTypeReference, doVisitInnerTypeReference, doVisitParameterizedTypeReference, doVisitUnknownTypeReference, doVisitWildcardTypeReference, enhanceFunctionType, enhanceMapping, getBoundTypeArgument, getOwner, getTypeParameterMapping, substitute, toString, visitTypeArgumentdoVisitMultiTypeReference, doVisitSynonymTypeReference, doVisitTypeReferencepublic TypeParameterByConstraintSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, ITypeReferenceOwner owner)
public TypeParameterByConstraintSubstitutor(java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, ITypeReferenceOwner owner, boolean ignoreDeclaredTypeParameters)
protected LightweightTypeReference doVisitUnboundTypeReference(UnboundTypeReference reference, ConstraintVisitingInfo visiting)
protected LightweightTypeReference visitTypeArgument(LightweightTypeReference reference, ConstraintVisitingInfo visiting, boolean lowerBound)
visitTypeArgument in class TypeParameterSubstitutor<ConstraintVisitingInfo>lowerBound - if the given reference was used as the lower bound of a wildcardprotected LightweightTypeReference getDeclaredUpperBound(org.eclipse.xtext.common.types.JvmTypeParameter typeParameter, ConstraintVisitingInfo visiting)
getDeclaredUpperBound in class CustomTypeParameterSubstitutorprotected TypeParameterByConstraintSubstitutor.DeclaredConstraintVisitingInfo createVisiting()
createVisiting in class CustomTypeParameterSubstitutorpublic LightweightTypeReference substitute(org.eclipse.xtext.common.types.JvmTypeParameter original)
protected LightweightTypeReference getUnmappedSubstitute(ParameterizedTypeReference reference, org.eclipse.xtext.common.types.JvmTypeParameter type, ConstraintVisitingInfo visiting)
getUnmappedSubstitute in class CustomTypeParameterSubstitutor