protected static class TypeDescription.Generic.Visitor.TypeVariableErasing.TypeVariableReviser extends Object implements TypeVariableSource.Visitor<TypeDescription.Generic>
TypeVariableSource.Visitor.NoOp
Modifier | Constructor and Description |
---|---|
protected |
TypeVariableReviser(TypeDescription.Generic typeVariable)
Creates a new type variable reviser.
|
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 TypeVariableReviser(TypeDescription.Generic typeVariable)
typeVariable
- The discovered type variable.public TypeDescription.Generic onType(TypeDescription typeDescription)
TypeVariableSource.Visitor
onType
in interface TypeVariableSource.Visitor<TypeDescription.Generic>
typeDescription
- The type onto which this visitor is applied.public TypeDescription.Generic onMethod(MethodDescription.InDefinedShape methodDescription)
TypeVariableSource.Visitor
onMethod
in interface TypeVariableSource.Visitor<TypeDescription.Generic>
methodDescription
- The method onto which this visitor is applied.Copyright © 2014–2016. All rights reserved.