protected class MethodDescription.TypeSubstituting.VariableRetainingDelegator extends GenericTypeDescription.Visitor.Substitutor
Modifier and Type | Class and Description |
---|---|
protected class |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.RetainedVariable
A retained type variable that is declared by the method.
|
GenericTypeDescription.Visitor.Substitutor.ForAttachment, GenericTypeDescription.Visitor.Substitutor.ForDetachment, GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding
GenericTypeDescription.Visitor.ForSignatureVisitor, GenericTypeDescription.Visitor.NoOp, GenericTypeDescription.Visitor.Substitutor, GenericTypeDescription.Visitor.TypeErasing, GenericTypeDescription.Visitor.TypeVariableErasing
Modifier | Constructor and Description |
---|---|
protected |
VariableRetainingDelegator() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
GenericTypeDescription |
onNonGenericType(GenericTypeDescription typeDescription)
Visits a non-generic type (
GenericTypeDescription.Sort.NON_GENERIC ). |
GenericTypeDescription |
onParameterizedType(GenericTypeDescription parameterizedType)
Visits a parameterized type (
GenericTypeDescription.Sort.PARAMETERIZED ). |
protected GenericTypeDescription |
onSimpleType(GenericTypeDescription typeDescription)
Visits a simple, non-generic type, i.e.
|
GenericTypeDescription |
onTypeVariable(GenericTypeDescription typeVariable)
|
String |
toString() |
onGenericArray, onWildcard
public GenericTypeDescription onParameterizedType(GenericTypeDescription parameterizedType)
GenericTypeDescription.Visitor
GenericTypeDescription.Sort.PARAMETERIZED
).onParameterizedType
in interface GenericTypeDescription.Visitor<GenericTypeDescription>
onParameterizedType
in class GenericTypeDescription.Visitor.Substitutor
parameterizedType
- The generic array type.public GenericTypeDescription onNonGenericType(GenericTypeDescription typeDescription)
GenericTypeDescription.Visitor
GenericTypeDescription.Sort.NON_GENERIC
).onNonGenericType
in interface GenericTypeDescription.Visitor<GenericTypeDescription>
onNonGenericType
in class GenericTypeDescription.Visitor.Substitutor
typeDescription
- The non-generic type.protected GenericTypeDescription onSimpleType(GenericTypeDescription typeDescription)
GenericTypeDescription.Visitor.Substitutor
onSimpleType
in class GenericTypeDescription.Visitor.Substitutor
typeDescription
- The type that is visited.public GenericTypeDescription onTypeVariable(GenericTypeDescription typeVariable)
GenericTypeDescription.Visitor
GenericTypeDescription.Sort.VARIABLE
,
GenericTypeDescription.Sort.VARIABLE_DETACHED
,
GenericTypeDescription.Sort.VARIABLE_SYMBOLIC
).typeVariable
- The generic array type.Copyright © 2014–2015. All rights reserved.