Uses of Interface
net.bytebuddy.description.type.TypeDescription.Generic.Visitor
Packages that use TypeDescription.Generic.Visitor
Package
Description
Classes of this package allow the representation of Java classes, their member and their meta data.
Contains descriptions of Java fields.
Contains descriptions of Java methods and constructors as well as their parameters.
Contains descriptions of Java types and packages.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
Assigner
implementations of this package
are capable of assigning non-primitive types to each other.-
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.description
Methods in net.bytebuddy.description with parameters of type TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionByteCodeElement.Token.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.ByteCodeElement.Token.TokenList.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms all tokens that are represented by this list. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.description.field
Fields in net.bytebuddy.description.field declared as TypeDescription.Generic.VisitorModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> FieldDescription.TypeSubstituting.visitor
A visitor that is applied to the field type.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> FieldList.TypeSubstituting.visitor
The visitor to apply to a field description.Methods in net.bytebuddy.description.field with parameters of type TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionFieldDescription.Token.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.Constructors in net.bytebuddy.description.field with parameters of type TypeDescription.Generic.VisitorModifierConstructorDescriptionTypeSubstituting
(TypeDescription.Generic declaringType, FieldDescription fieldDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a field description with a substituted field type.TypeSubstituting
(TypeDescription.Generic declaringType, List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting field list. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method declared as TypeDescription.Generic.VisitorModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> MethodDescription.TypeSubstituting.visitor
A visitor that is applied to the method type.protected final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> MethodList.TypeSubstituting.visitor
The visitor to apply to each method description before returning it.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> ParameterDescription.TypeSubstituting.visitor
A visitor that is applied to the parameter type.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> ParameterList.TypeSubstituting.visitor
The visitor to apply to the parameter types before returning them.Methods in net.bytebuddy.description.method with parameters of type TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionMethodDescription.Token.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.ParameterDescription.Token.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.Constructors in net.bytebuddy.description.method with parameters of type TypeDescription.Generic.VisitorModifierConstructorDescriptionTypeSubstituting
(TypeDescription.Generic declaringType, MethodDescription methodDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a method description with substituted method types.TypeSubstituting
(TypeDescription.Generic declaringType, List<? extends MethodDescription> methodDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting method list.TypeSubstituting
(MethodDescription.InGenericShape declaringMethod, ParameterDescription parameterDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting parameter.TypeSubstituting
(MethodDescription.InGenericShape declaringMethod, List<? extends ParameterDescription> parameterDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting parameter list. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.description.type
Classes in net.bytebuddy.description.type that implement TypeDescription.Generic.VisitorModifier and TypeClassDescriptionprotected static enum
A visitor to resolve a generic type to aTypeDescription.Generic.Builder
.static enum
A visitor that strips all type annotations of all types.static enum
A visitor that determines the direct assignability of a type to another generic type.static class
An abstract base implementation of a dispatcher that forwards the decision to a visitor implementation.static class
A dispatcher for checking the assignability of a generic array type.static class
A dispatcher for checking the assignability of a non-generic type.static class
A dispatcher for checking the assignability of a parameterized type.protected static enum
An assigner for a parameter of a parameterized type.static class
A dispatcher for checking the assignability of a type variable.static class
A visitor that transforms any type into a raw type if declaring type is generified.static class
Visits a generic type and appends the discovered type to the supplied signature visitor.protected static class
Visits a parameter while visiting a generic type for delegating discoveries to a signature visitor.static enum
A non-operational generic type visitor.static class
A visitor that reduces a detached generic type to its erasure.static enum
A visitor that reifies type descriptions if they represent raw types.static class
An abstract implementation of a visitor that substitutes generic types by replacing (nested) type variables and/or non-generic component types.static class
A substitutor that attaches type variables to a type variable source and replaces representations ofTargetType
with a given declaring type.static class
A visitor for detaching a type from its declaration context by detaching type variables.static class
A substitutor that replaces a type description with an equal type description.static class
A substitutor that normalizes a token to represent allTargetType
by a given type and that symbolizes all type variables.static class
A visitor for binding type variables to their values.static class
ATypeDescription.Generic.Visitor.Substitutor
that only substitutes type variables but fully preserves non-generic type definitions.static enum
A visitor that returns the erasure of any visited type.static enum
A validator for Java types that are defined for a specified type use within a Java class file.static enum
A type validator for checking type annotations.Fields in net.bytebuddy.description.type declared as TypeDescription.Generic.VisitorModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> RecordComponentDescription.TypeSubstituting.visitor
A visitor that is applied to the parameter type.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> RecordComponentList.TypeSubstituting.visitor
The visitor to apply to the parameter types before returning them.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> TypeDescription.Generic.LazyProjection.WithResolvedErasure.visitor
The visitor to apply for resolving the generic type.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable.visitor
A visitor for attaching the type variable's bounds.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.OfTypeVariables.visitor
A visitor for attaching the type variable's bounds.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.visitor
The visitor to use for attaching the detached types.private final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.WithResolvedErasure.visitor
The visitor to use for attaching the detached types.Methods in net.bytebuddy.description.type that return TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionTypeDescription.Generic.Visitor.Substitutor.ForDetachment.of
(TypeDefinition typeDefinition) Returns a new detachment visitor that detaches any type matching the supplied type description.Methods in net.bytebuddy.description.type with parameters of type TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionRecordComponentDescription.Token.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.<T> T
TypeDescription.Generic.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.LazyProjection.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfGenericArray.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfNonGenericType.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfParameterizedType.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfTypeVariable.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfTypeVariable.Symbolic.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.<T> T
TypeDescription.Generic.OfWildcardType.accept
(TypeDescription.Generic.Visitor<T> visitor) Applies a visitor to this generic type description.TypeList.Generic.AbstractBase.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the generic types by applying the supplied visitor to each of them.TypeList.Generic.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the generic types by applying the supplied visitor to each of them.TypeList.Generic.Empty.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the generic types by applying the supplied visitor to each of them.TypeVariableToken.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.Constructors in net.bytebuddy.description.type with parameters of type TypeDescription.Generic.VisitorModifierConstructorDescriptionprotected
AttachedTypeVariable
(TypeVariableSource typeVariableSource, TypeVariableToken typeVariableToken, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new attached type variable.ForDetachedTypes
(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a list of detached types that are attached on reception.OfTypeVariables
(TypeVariableSource typeVariableSource, List<? extends TypeVariableToken> detachedTypeVariables, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new list of attached type variables representing a list of type variable tokens.TypeSubstituting
(TypeDescription.Generic declaringType, RecordComponentDescription recordComponentDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting representation of a record component description.TypeSubstituting
(TypeDescription.Generic declaringType, List<? extends RecordComponentDescription> recordComponentDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a type substituting list of record component descriptions.WithResolvedErasure
(TypeDescription.Generic delegate, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a lazy projection with a resolved erasure that retains the delegates type annotations.WithResolvedErasure
(TypeDescription.Generic delegate, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor, AnnotationSource annotationSource) Creates a lazy projection with a resolved erasure.WithResolvedErasure
(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a list of generic type descriptions that are resolved lazily, i.e. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement TypeDescription.Generic.VisitorModifier and TypeClassDescriptionprotected class
A visitor that attaches type variables based on the transformed method's type variables and the instrumented type. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as TypeDescription.Generic.VisitorModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> MethodGraph.Compiler.Default.visitor
A visitor to apply to all type descriptions before analyzing their methods or resolving super types.Methods in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionstatic <S> MethodGraph.Compiler
MethodGraph.Compiler.Default.of
(MethodGraph.Compiler.Default.Harmonizer<S> harmonizer, MethodGraph.Compiler.Default.Merger merger, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a default compiler using the given harmonizer and merger.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescription.Generic.VisitorModifierConstructorDescriptionprotected
Default
(MethodGraph.Compiler.Default.Harmonizer<T> harmonizer, MethodGraph.Compiler.Default.Merger merger, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new default method graph compiler.Default
(MethodGraph.Compiler.Default.Harmonizer<T> harmonizer, MethodGraph.Compiler.Default.Merger merger, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor, ElementMatcher<? super MethodDescription> matcher) Creates a new default method graph compiler. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement TypeDescription.Generic.VisitorModifier and TypeClassDescriptionstatic class
A type visitor that visits all type annotations of a generic type and writes any discovered annotation to a suppliedAnnotationAppender
.Methods in net.bytebuddy.implementation.attribute that return TypeDescription.Generic.VisitorModifier and TypeMethodDescriptionAnnotationAppender.ForTypeAnnotations.ofExceptionType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's exception type.AnnotationAppender.ForTypeAnnotations.ofFieldType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a field's type.AnnotationAppender.ForTypeAnnotations.ofInterfaceType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of an interface type.AnnotationAppender.ForTypeAnnotations.ofMethodParameterType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's parameter type.AnnotationAppender.ForTypeAnnotations.ofMethodReturnType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's return type.AnnotationAppender.ForTypeAnnotations.ofReceiverType
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's receiver type.AnnotationAppender.ForTypeAnnotations.ofSuperClass
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for a type annotations of a super class type. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.implementation.bytecode.assign.reference
Classes in net.bytebuddy.implementation.bytecode.assign.reference that implement TypeDescription.Generic.VisitorModifier and TypeClassDescriptionprotected static class
A visitor for generic types that determines assignability of such types.protected static class
A visitor for determining assignability of a generic array type.protected static class
An implementation of a assignability visitor that is applicable for any non-wildcard type.protected static class
A visitor for determining assignability of a non-generic type.protected static class
A visitor for determining the assignability of a parameterized type.protected static class
A visitor for determining assignability of a type in a type hierarchy, i.e.protected static class
A visitor to determine the assignability of a wildcard type.