@HashCodeAndEqualsPlugin.Enhance public static class TypeDescription.Generic.Visitor.Substitutor.ForAttachment extends TypeDescription.Generic.Visitor.Substitutor
TargetType with a given declaring type.TypeDescription.Generic.Visitor.Substitutor.ForAttachment, TypeDescription.Generic.Visitor.Substitutor.ForDetachment, TypeDescription.Generic.Visitor.Substitutor.ForReplacement, TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization, TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding, TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitutionTypeDescription.Generic.Visitor.AnnotationStripper, TypeDescription.Generic.Visitor.Assigner, TypeDescription.Generic.Visitor.ForRawType, TypeDescription.Generic.Visitor.ForSignatureVisitor, TypeDescription.Generic.Visitor.Generalizing, 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 |
ForAttachment(TypeDefinition declaringType,
TypeVariableSource typeVariableSource)
Creates a visitor for attaching type variables.
|
protected |
ForAttachment(TypeDescription declaringType,
TypeVariableSource typeVariableSource)
Creates a visitor for attaching type variables.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDescription.Generic.Visitor.Substitutor.ForAttachment |
of(FieldDescription fieldDescription)
Attaches all types to the given field description.
|
static TypeDescription.Generic.Visitor.Substitutor.ForAttachment |
of(MethodDescription methodDescription)
Attaches all types to the given method description.
|
static TypeDescription.Generic.Visitor.Substitutor.ForAttachment |
of(ParameterDescription parameterDescription)
Attaches all types to the given parameter description.
|
static TypeDescription.Generic.Visitor.Substitutor.ForAttachment |
of(RecordComponentDescription recordComponentDescription)
Attaches all types to the given record component description.
|
static TypeDescription.Generic.Visitor.Substitutor.ForAttachment |
of(TypeDescription typeDescription)
Attaches all types to the given type description.
|
protected TypeDescription.Generic |
onSimpleType(TypeDescription.Generic typeDescription)
Visits a simple, non-generic type, i.e.
|
TypeDescription.Generic |
onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE, Sort#VARIABLE_SYMBOLIC). |
onGenericArray, onNonGenericType, onParameterizedType, onWildcardprotected ForAttachment(TypeDefinition declaringType, TypeVariableSource typeVariableSource)
declaringType - The declaring type which is filled in for TargetType in its erased form.typeVariableSource - The source which is used for locating type variables.protected ForAttachment(TypeDescription declaringType, TypeVariableSource typeVariableSource)
declaringType - The declaring type which is filled in for TargetType.typeVariableSource - The source which is used for locating type variables.public static TypeDescription.Generic.Visitor.Substitutor.ForAttachment of(TypeDescription typeDescription)
typeDescription - The type description to which visited types should be attached to.public static TypeDescription.Generic.Visitor.Substitutor.ForAttachment of(FieldDescription fieldDescription)
fieldDescription - The field description to which visited types should be attached to.public static TypeDescription.Generic.Visitor.Substitutor.ForAttachment of(MethodDescription methodDescription)
methodDescription - The method description to which visited types should be attached to.public static TypeDescription.Generic.Visitor.Substitutor.ForAttachment of(ParameterDescription parameterDescription)
parameterDescription - The parameter description to which visited types should be attached to.public static TypeDescription.Generic.Visitor.Substitutor.ForAttachment of(RecordComponentDescription recordComponentDescription)
recordComponentDescription - The record component description to which visited types should be attached to.public TypeDescription.Generic onTypeVariable(TypeDescription.Generic typeVariable)
Sort#VARIABLE, Sort#VARIABLE_SYMBOLIC).typeVariable - The generic array type.protected TypeDescription.Generic onSimpleType(TypeDescription.Generic typeDescription)
TypeDescription.Generic.Visitor.SubstitutoronSimpleType in class TypeDescription.Generic.Visitor.SubstitutortypeDescription - The type that is visited.Copyright © 2014–2025. All rights reserved.