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 |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypeDescription.Generic |
onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.
|
TypeDescription.Generic |
onType(TypeDescription typeDescription)
Applies the visitor on a type.
|
String |
toString() |
protected TypeVariableSubstitutor(TypeDescription.Generic typeVariable)
typeVariable - The discovered type variable.public TypeDescription.Generic onType(TypeDescription typeDescription)
TypeVariableSource.VisitoronType in interface TypeVariableSource.Visitor<TypeDescription.Generic>typeDescription - The type onto which this visitor is applied.public TypeDescription.Generic onMethod(MethodDescription.InDefinedShape methodDescription)
TypeVariableSource.VisitoronMethod in interface TypeVariableSource.Visitor<TypeDescription.Generic>methodDescription - The method onto which this visitor is applied.Copyright © 2014–2016. All rights reserved.