@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding extends TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution
Modifier and Type | Class and Description |
---|---|
protected class |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.RetainedMethodTypeVariable
Implementation of a type variable on a method that is not substituted.
|
protected class |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor
Substitutes a type variable, either with a new binding if the variable is defined by a type or with a
retained type variable if the variable is defined by a method.
|
TypeDescription.Generic.Visitor.Substitutor.ForAttachment, TypeDescription.Generic.Visitor.Substitutor.ForDetachment, TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization, TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding, TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution
TypeDescription.Generic.Visitor.AnnotationStripper, TypeDescription.Generic.Visitor.Assigner, TypeDescription.Generic.Visitor.ForRawType, TypeDescription.Generic.Visitor.ForSignatureVisitor, TypeDescription.Generic.Visitor.NoOp, TypeDescription.Generic.Visitor.Reducing, TypeDescription.Generic.Visitor.Reifying, TypeDescription.Generic.Visitor.Substitutor, TypeDescription.Generic.Visitor.TypeErasing, TypeDescription.Generic.Visitor.Validator
Modifier | Constructor and Description |
---|---|
protected |
ForTypeVariableBinding(TypeDescription.Generic parameterizedType)
Creates a new visitor for binding a parameterized type's type arguments to its type variables.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
onNonGenericType, onSimpleType
onGenericArray, onParameterizedType, onWildcard
protected ForTypeVariableBinding(TypeDescription.Generic parameterizedType)
parameterizedType
- The parameterized type for which type variables are bound.public TypeDescription.Generic onTypeVariable(TypeDescription.Generic typeVariable)
TypeDescription.Generic.Visitor
Sort#VARIABLE
, Sort#VARIABLE_SYMBOLIC
).typeVariable
- The generic array type.Copyright © 2014–2018. All rights reserved.