Interface Substitution
- All Known Implementing Classes:
InferenceSubstitution,ParameterizedGenericMethodBinding,ParameterizedTypeBinding,PolyParameterizedGenericMethodBinding,RawTypeBinding,Substitution.NullSubstitution
public interface Substitution
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDon't substitute any type variables. -
Method Summary
Modifier and TypeMethodDescriptionReturns the lookup environmentbooleanReturns true for raw substitutionsubstitute(TypeVariableBinding typeVariable) Returns the type substitute for a given type variable, or itself if no substitution got performed.
-
Method Details
-
substitute
Returns the type substitute for a given type variable, or itself if no substitution got performed. -
environment
LookupEnvironment environment()Returns the lookup environment -
isRawSubstitution
boolean isRawSubstitution()Returns true for raw substitution
-