@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor extends Object implements TypeVariableSource.Visitor<TypeDescription.Generic>
TypeVariableSource.Visitor.NoOp
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.
|
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.Copyright © 2014–2023. All rights reserved.