Uses of Interface
net.bytebuddy.description.type.TypeDescription.Generic.Visitor
-
Packages that use TypeDescription.Generic.Visitor Package Description net.bytebuddy.description Classes of this package allow the representation of Java classes, their member and their meta data.net.bytebuddy.description.field Contains descriptions of Java fields.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.description.type Contains descriptions of Java types and packages.net.bytebuddy.dynamic 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.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.implementation.attribute All types and classes in this package are responsible for writing attributes for a given Java byte code element, i.e.net.bytebuddy.implementation.bytecode.assign.reference 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.Visitor Modifier and Type Method Description T
ByteCodeElement.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<S>
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.Visitor Modifier and Type Field Description private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
FieldDescription.TypeSubstituting. visitor
A visitor that is applied to the field type.private 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.Visitor Modifier and Type Method Description FieldDescription.Token
FieldDescription.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.Visitor Constructor Description TypeSubstituting(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, java.util.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.Visitor Modifier and Type Field Description private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
MethodDescription.TypeSubstituting. visitor
A visitor that is applied to the method type.protected TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
MethodList.TypeSubstituting. visitor
The visitor to apply to each method description before returning it.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
ParameterDescription.TypeSubstituting. visitor
A visitor that is applied to the parameter type.private 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.Visitor Modifier and Type Method Description MethodDescription.Token
MethodDescription.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
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.Visitor Constructor Description TypeSubstituting(TypeDescription.Generic declaringType, MethodDescription methodDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a method description with substituted method types.TypeSubstituting(TypeDescription.Generic declaringType, java.util.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, java.util.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.Visitor Modifier and Type Class Description static class
TypeDescription.Generic.Visitor.AnnotationStripper
A visitor that strips all type annotations of all types.static class
TypeDescription.Generic.Visitor.Assigner
A visitor that determines the direct assignability of a type to another generic type.static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase
An abstract base implementation of a dispatcher that forwards the decision to a visitor implementation.static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray
A dispatcher for checking the assignability of a generic array type.static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType
A dispatcher for checking the assignability of a non-generic type.static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType
A dispatcher for checking the assignability of a parameterized type.protected static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner
An assigner for a parameter of a parameterized type.static class
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable
A dispatcher for checking the assignability of a type variable.static class
TypeDescription.Generic.Visitor.ForRawType
A visitor that transforms any type into a raw type if declaring type is generified.static class
TypeDescription.Generic.Visitor.ForSignatureVisitor
Visits a generic type and appends the discovered type to the supplied signature visitor.protected static class
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument
Visits a parameter while visiting a generic type for delegating discoveries to a signature visitor.static class
TypeDescription.Generic.Visitor.NoOp
A non-operational generic type visitor.static class
TypeDescription.Generic.Visitor.Reducing
A visitor that reduces a detached generic type to its erasure.static class
TypeDescription.Generic.Visitor.Reifying
A visitor that reifies type descriptions if they represent raw types.static class
TypeDescription.Generic.Visitor.Substitutor
An abstract implementation of a visitor that substitutes generic types by replacing (nested) type variables and/or non-generic component types.static class
TypeDescription.Generic.Visitor.Substitutor.ForAttachment
A substitutor that attaches type variables to a type variable source and replaces representations ofTargetType
with a given declaring type.static class
TypeDescription.Generic.Visitor.Substitutor.ForDetachment
A visitor for detaching a type from its declaration context by detaching type variables.static class
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization
A substitutor that normalizes a token to represent allTargetType
by a given type and that symbolizes all type variables.static class
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding
A visitor for binding type variables to their values.static class
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution
ATypeDescription.Generic.Visitor.Substitutor
that only substitutes type variables but fully preserves non-generic type definitions.static class
TypeDescription.Generic.Visitor.TypeErasing
A visitor that returns the erasure of any visited type.static class
TypeDescription.Generic.Visitor.Validator
A validator for Java types that are defined for a specified type use within a Java class file.static class
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations
A type validator for checking type annotations.Fields in net.bytebuddy.description.type declared as TypeDescription.Generic.Visitor Modifier and Type Field Description private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
RecordComponentDescription.TypeSubstituting. visitor
A visitor that is applied to the parameter type.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
RecordComponentList.TypeSubstituting. visitor
The visitor to apply to the parameter types before returning them.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
TypeDescription.Generic.LazyProjection.WithResolvedErasure. visitor
The visitor to apply for resolving the generic type.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable. visitor
A visitor for attaching the type variable's bounds.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
TypeList.Generic.ForDetachedTypes.OfTypeVariables. visitor
A visitor for attaching the type variable's bounds.private TypeDescription.Generic.Visitor<? extends TypeDescription.Generic>
TypeList.Generic.ForDetachedTypes. visitor
The visitor to use for attaching the detached types.private 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.Visitor Modifier and Type Method Description static TypeDescription.Generic.Visitor<TypeDescription.Generic>
TypeDescription.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.Visitor Modifier and Type Method Description RecordComponentDescription.Token
RecordComponentDescription.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
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
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
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
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.Visitor Constructor Description AttachedTypeVariable(TypeVariableSource typeVariableSource, TypeVariableToken typeVariableToken, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new attached type variable.ForDetachedTypes(java.util.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, java.util.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, java.util.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(java.util.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.Visitor Modifier and Type Class Description protected class
Transformer.ForMethod.TransformedMethod.AttachmentVisitor
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.Visitor Modifier and Type Field Description private 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.Visitor Modifier and Type Method Description static <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.Visitor Constructor Description 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. -
Uses of TypeDescription.Generic.Visitor in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement TypeDescription.Generic.Visitor Modifier and Type Class Description static class
AnnotationAppender.ForTypeAnnotations
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.Visitor Modifier and Type Method Description static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofExceptionType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)
Creates a type annotation appender for type annotations of a method's exception type.static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofFieldType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a field's type.static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofInterfaceType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)
Creates a type annotation appender for type annotations of an interface type.static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofMethodParameterType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)
Creates a type annotation appender for type annotations of a method's parameter type.static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofMethodReturnType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's return type.static TypeDescription.Generic.Visitor<AnnotationAppender>
AnnotationAppender.ForTypeAnnotations. ofReceiverType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)
Creates a type annotation appender for type annotations of a method's receiver type.static TypeDescription.Generic.Visitor<AnnotationAppender>
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.Visitor Modifier and Type Class Description protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor
A visitor for generic types that determines assignability of such types.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray
A visitor for determining assignability of a generic array type.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType
An implementation of a assignability visitor that is applicable for any non-wildcard type.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfNonGenericType
A visitor for determining assignability of a non-generic type.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfParameterizedType
A visitor for determining the assignability of a parameterized type.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfSimpleType
A visitor for determining assignability of a type in a type hierarchy, i.e.protected static class
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard
A visitor to determine the assignability of a wildcard type.
-