@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor extends java.lang.Object implements TypeVariableSource.Visitor<TypeDescription.Generic>
TypeVariableSource.Visitor.NoOp
Modifier and Type | Field and Description |
---|---|
private TypeDescription.Generic |
typeVariable
The discovered type variable.
|
Modifier | Constructor and Description |
---|---|
protected |
TypeVariableSubstitutor(TypeDescription.Generic typeVariable)
Creates a new type variable substitutor.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.
|
TypeDescription.Generic |
onType(TypeDescription typeDescription)
Applies the visitor on a type.
|
private final TypeDescription.Generic typeVariable
protected TypeVariableSubstitutor(TypeDescription.Generic typeVariable)
typeVariable
- The discovered type variable.public TypeDescription.Generic onType(TypeDescription typeDescription)
onType
in interface TypeVariableSource.Visitor<TypeDescription.Generic>
typeDescription
- The type onto which this visitor is applied.public TypeDescription.Generic onMethod(MethodDescription.InDefinedShape methodDescription)
onMethod
in interface TypeVariableSource.Visitor<TypeDescription.Generic>
methodDescription
- The method onto which this visitor is applied.