Uses of Interface
net.bytebuddy.description.type.TypeDescription.Generic
Packages that use TypeDescription.Generic
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
The ASM package contains classes that are meant for direct interaction with the ASM API.
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 classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.The implementation package contains any logic for intercepting method calls.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
An
Assigner
is responsible for transforming
a given TypeDescription
into another one.Assigner
implementations of this package
are capable of handling primitive types or the void
type.Assigner
implementations of this package
are capable of assigning non-primitive types to each other.This package is dedicated to creating
StackManipulation
s
that create collections or arrays from a given number of values.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of TypeDescription.Generic in net.bytebuddy
Methods in net.bytebuddy with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionNamingStrategy.AbstractBase.subclass
(TypeDescription.Generic superClass) Determines a new name when creating a new type that subclasses the provided type.NamingStrategy.subclass
(TypeDescription.Generic superClass) Determines a new name when creating a new type that subclasses the provided type. -
Uses of TypeDescription.Generic in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
Advice.OffsetMapping.ForEnterValue.enterType
The enter type.private final TypeDescription.Generic
Advice.OffsetMapping.ForExitValue.exitType
The exit type.private final TypeDescription.Generic
Advice.OffsetMapping.ForLocalValue.localType
The local variable's type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory.result
The result type ornull
if the type of the substitution result should be targeted.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForAssignment.result
The result type ornull
if the type of the substitution result should be targeted.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.Simple.resultType
The resulting type of applying the stack manipulation.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.returned
The type on top of the stack after the delegation is complete.private final TypeDescription.Generic
Advice.OffsetMapping.ForAllArguments.target
The component target type.protected final TypeDescription.Generic
Advice.OffsetMapping.ForArgument.target
The type expected by the advice method.private final TypeDescription.Generic
Advice.OffsetMapping.ForEnterValue.target
The represented target type.private final TypeDescription.Generic
Advice.OffsetMapping.ForExitValue.target
The represented target type.private final TypeDescription.Generic
Advice.OffsetMapping.ForField.target
The expected type that the field can be assigned to.private final TypeDescription.Generic
Advice.OffsetMapping.ForLocalValue.target
The variable's target type.private final TypeDescription.Generic
Advice.OffsetMapping.ForReturnValue.target
The type that the advice method expects for the return value.private final TypeDescription.Generic
Advice.OffsetMapping.ForSerializedValue.target
The type of the serialized value as it is used.private final TypeDescription.Generic
Advice.OffsetMapping.ForThisReference.target
The type that the advice method expects for thethis
reference.private final TypeDescription.Generic
Advice.OffsetMapping.ForThrowable.target
The type of parameter that is being accessed.protected final TypeDescription.Generic
Advice.OffsetMapping.Target.ForArray.target
The compound target type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.target
A description of the targeted type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved.targetComponentType
The component type of the annotated parameter.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.targetComponentType
The component type of the annotated parameter.private final TypeDescription.Generic
Advice.OffsetMapping.ForStackManipulation.targetType
The target type of the annotated parameter.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved.targetType
The targeted type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.targetType
A description of the targeted type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Resolved.targetType
The type of the targeted expression.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.targetType
The type of the targeted expression.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved.targetType
The type of the parameter or method target that is bound by this mapping.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.targetType
The type of the parameter or method target that is bound by this mapping.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved.targetType
The targeted type.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.targetType
The targeted type.private final TypeDescription.Generic
Advice.OffsetMapping.ForStackManipulation.Factory.typeDescription
The type of the loaded value.private final TypeDescription.Generic
Advice.OffsetMapping.ForStackManipulation.typeDescription
The type of the loaded value.private final TypeDescription.Generic
MemberSubstitution.Source.Value.typeDescription
The type of the loaded value.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory.typeDescription
The type of the substituted argument.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.typeDescription
The type of the substituted argument.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Factory.typeDescription
The type of the value that is produced by the stack manipulation.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfSerializedConstant.typeDescription
A description of the type that is returned as a result of the deserialization.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved.typeDescription
The type of the value that is produced by the stack manipulation.private final TypeDescription.Generic
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.typeDescription
The type of the value that is produced by the stack manipulation.private final TypeDescription.Generic
MemberSubstitution.Substitution.ForValue.typeDescription
The type of the represented stack manipulation.Fields in net.bytebuddy.asm with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic.Visitor
<? extends TypeDescription.Generic> Advice.Delegator.ForDynamicInvocation.Factory.visitor
A visitor to apply to the parameter types prior to resolving theMethodType
that is passed to the bootstrap method.Methods in net.bytebuddy.asm that return TypeDescription.GenericModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Step.Resolution.getResultType()
Returns the resulting type of the substitution orvoid
if no resulting value is applied.MemberSubstitution.Substitution.Chain.Step.Simple.getResultType()
Returns the resulting type of the substitution orvoid
if no resulting value is applied.protected TypeDescription.Generic
MemberSubstitution.Source.Value.getTypeDescription()
Returns the type of the loaded value.Methods in net.bytebuddy.asm with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Bound.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Unbound.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation.apply
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind
(Class<T> type, StackManipulation stackManipulation, TypeDescription.Generic targetType) Binds the supplied annotation to the annotation's property of the specified name.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bind
(Class<T> type, StackManipulation stackManipulation, TypeDescription.Generic targetType) Binds the supplied annotation to the annotation's property of the specified name.MemberSubstitution.Substitution.Chain.Step.ForAssignment.castTo
(TypeDescription.Generic typeDescription) Creates a step factory that casts the current stack top value to the specified type.MemberSubstitution.Replacement.Binding.ForDynamicInvocation.make
(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Creates a stack manipulation that represents the substitution.MemberSubstitution.Replacement.Binding.ForMember.make
(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Creates a stack manipulation that represents the substitution.MemberSubstitution.Replacement.Binding.make
(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Creates a stack manipulation that represents the substitution.MemberSubstitution.Replacement.Binding.Unresolved.make
(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Creates a stack manipulation that represents the substitution.protected abstract MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<S> annotation) Returns an offset mapping for the bound method target or parameter.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.Simple.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<S> annotation) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.Factory.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Factory.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfDynamicInvocation.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfSerializedConstant.make
(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation) protected abstract StackManipulation
MemberSubstitution.Source.resolve
(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, MethodDescription instrumentedMethod) Resolves a stack manipulation that loads the supplied sort of origin onto the operand stack.MemberSubstitution.Substitution.Chain.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForAssignment.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForDelegation.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForField.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForInvocation.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.Simple.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.ForValue.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Stubbing.resolve
(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.Method parameters in net.bytebuddy.asm with type arguments of type TypeDescription.GenericModifier and TypeMethodDescriptionAdvice.WithCustomMapping.bootstrap
(Method method, Advice.BootstrapArgumentResolver.Factory resolver, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Defines the supplied method as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.bootstrap
(MethodDescription.InDefinedShape bootstrap, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.protected static Advice.Delegator.Factory
Advice.Delegator.ForDynamicInvocation.of
(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new dynamic invocation delegator.Constructors in net.bytebuddy.asm with parameters of type TypeDescription.GenericModifierConstructorDescriptionFactory
(Class<T> annotationType, StackManipulation stackManipulation, TypeDescription.Generic typeDescription) Creates a new factory for binding a stack manipulation.Factory
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, int index) Creates a factory for an argument substitution step.protected
Factory
(TypeDescription.Generic result) Creates a new factory for a step that applies a type assignment.Factory
(Class<T> annotationType, StackManipulation stackManipulation, TypeDescription.Generic typeDescription) Creates a factory for a given stack manipulation.ForAllArguments
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, boolean includeSelf, boolean nullIfEmpty) Creates a new offset mapping for an array containing all arguments.protected
ForAllArguments
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.AllArguments> annotation) Creates a new offset mapping for an array containing all arguments.ForAllArguments
(TypeDescription.Generic targetComponentType, Assigner.Typing typing, MemberSubstitution.Source source, boolean includeSelf, boolean nullIfEmpty) Creates a new offset mapping for an array containing all supplied arguments.protected
ForArgument
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing) Creates a new offset mapping for a parameter of the instrumented method.ForArgument
(TypeDescription.Generic targetType, int index, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional) Creates a new offset mapping for an argument to either the substituted expression or the instrumented method.protected
ForArgumentSubstitution
(StackManipulation substitution, TypeDescription.Generic typeDescription, int index, Assigner assigner, Assigner.Typing typing) Creates an argument substitution step.protected
ForArray
(TypeDescription.Generic target, List<? extends StackManipulation> valueReads) Creates a new target mapping for an array of all local variables.protected
ForAssignment
(TypeDescription.Generic result, Assigner assigner) Creates a step for a type assignment.ForCurrent
(TypeDescription.Generic targetType, Assigner.Typing typing) Creates an offset mapping for the previous chain instruction.protected
ForDelegation
(TypeDescription.Generic returned, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved dispatcher, List<MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved> offsetMappings) ForEnterValue
(TypeDescription.Generic target, TypeDescription.Generic enterType, boolean readOnly, Assigner.Typing typing) Creates a new offset mapping for the enter type.protected
ForEnterValue
(TypeDescription.Generic target, TypeDescription.Generic enterType, AnnotationDescription.Loadable<Advice.Enter> annotation) Creates a new offset mapping for the enter type.ForExitValue
(TypeDescription.Generic target, TypeDescription.Generic exitType, boolean readOnly, Assigner.Typing typing) Creates a new offset mapping for the enter type.protected
ForExitValue
(TypeDescription.Generic target, TypeDescription.Generic exitType, AnnotationDescription.Loadable<Advice.Exit> annotation) Creates a new offset mapping for the exit type.protected
ForField
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing) Creates an offset mapping for a field.protected
ForField
(TypeDescription.Generic target, Assigner.Typing typing) Creates an offset mapping for a field value.ForLocalValue
(TypeDescription.Generic target, TypeDescription.Generic localType, String name) Creates an offset mapping for a local variable that is declared by the advice methods viaAdvice.Local
.ForReturnValue
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing) Creates a new offset mapping for a return value.protected
ForReturnValue
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.Return> annotation) Creates a new offset mapping for a return value.ForSerializedValue
(TypeDescription.Generic target, TypeDescription typeDescription, StackManipulation deserialization) Creates a new offset mapping for a serialized value.ForStackManipulation
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType, Assigner.Typing typing) Creates an offset mapping that binds a stack manipulation.ForStackManipulation
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType) Creates a new offset mapping for a stack manipulation.ForThisReference
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, boolean optional) Creates a new offset mapping for athis
reference.protected
ForThisReference
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.This> annotation) Creates a new offset mapping for athis
reference.ForThisReference
(TypeDescription.Generic targetType, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional) Creates an offset mapping that resolves thethis
reference.ForThrowable
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing) Creates a new offset mapping for access of the exception that is thrown by the instrumented method..protected
ForThrowable
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.Thrown> annotation) Creates a new offset mapping for access of the exception that is thrown by the instrumented method..ForValue
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription) Creates a new substitution for loading a constant value.protected
OfSerializedConstant
(Class<T> annotationType, StackManipulation deserialization, TypeDescription.Generic typeDescription) Creates a factory that creates an offset mapping for a value that is deserialized.ReadOnly
(TypeDescription.Generic target, List<? extends StackManipulation> valueReads) Creates a read-only target mapping for an array of all local variables.ReadWrite
(TypeDescription.Generic target, List<? extends StackManipulation> valueReads, List<? extends StackManipulation> valueWrites) Creates a writable target mapping for an array of all local variables.Resolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, ParameterDescription parameterDescription) Creates an offset mapping that binds a parameter of the instrumented method.Resolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, FieldDescription fieldDescription) Creates a resolved offset mapping for a field.protected
Resolved
(TypeDescription.Generic targetComponentType, Assigner.Typing typing, MemberSubstitution.Source source, boolean includeSelf, boolean nullIfEmpty, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved version for an offset mapping of all arguments.protected
Resolved
(TypeDescription.Generic targetType, int index, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved offset mapping for assigning a parameter.Resolved
(TypeDescription.Generic targetType, Assigner assigner, Assigner.Typing typing) Creates a resolved offset mapping for assigning the previous chain instruction.Resolved
(TypeDescription.Generic target, Assigner.Typing typing, FieldDescription fieldDescription) Creates a resolved offset mapping for a field access.protected
Resolved
(Assigner assigner, Assigner.Typing typing, StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType) Creates a resolved offset mapping for a given stack manipulation.protected
Resolved
(TypeDescription.Generic targetType, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved offset mapping for assigning thethis
reference.Simple
(StackManipulation stackManipulation, TypeDescription.Generic resultType) Creates a new simple substitution step.Unresolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, int index) Creates a non-optional offset binding for a parameter with a given index.Unresolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, int index, boolean optional) Creates a new offset binding for a parameter with a given index.protected
Unresolved
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.Argument> annotation) Creates a new offset binding for a parameter with a given index.protected
Unresolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name) Creates an offset mapping for a field that is not yet resolved.protected
Unresolved
(TypeDescription.Generic target, Assigner.Typing typing, String name) Creates an offset mapping for the value of an unresolved field.protected
Value
(TypeDescription.Generic typeDescription, int offset) Creates a value representation.WithExplicitType
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name, TypeDescription declaringType) Creates an offset mapping for a field with an explicit declaring type.protected
WithExplicitType
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.FieldValue> annotation, TypeDescription declaringType) Creates an offset mapping for a field with an explicit declaring type.protected
WithExplicitType
(TypeDescription.Generic target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation, TypeDescription declaringType) Creates an offset mapping for the value of an unresolved field with an explicit declaring type.WithExplicitType
(TypeDescription.Generic target, Assigner.Typing typing, String name, TypeDescription declaringType) Creates an offset mapping for the value of an unresolved field with an explicit declaring type.WithImplicitType
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name) Creates an offset mapping for a field with an implicit declaring type.protected
WithImplicitType
(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.FieldValue> annotation) Creates an offset mapping for a field with an implicit declaring type.protected
WithImplicitType
(TypeDescription.Generic target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation) Creates an offset mapping for an unresolved field value with an implicit declaring type.WithImplicitType
(TypeDescription.Generic target, Assigner.Typing typing, String name) Creates an offset mapping for the value of an unresolved field with an implicit declaring type.Constructor parameters in net.bytebuddy.asm with type arguments of type TypeDescription.GenericModifierConstructorDescriptionprotected
Factory
(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a factory for a dynamic invocation dispatcher. -
Uses of TypeDescription.Generic in net.bytebuddy.description
Methods in net.bytebuddy.description that return TypeDescription.GenericModifier and TypeMethodDescriptionTypeVariableSource.AbstractBase.findExpectedVariable
(String symbol) Finds a particular variable with the given name in the closes type variable source that is visible from this instance.TypeVariableSource.findExpectedVariable
(String symbol) Finds a particular variable with the given name in the closes type variable source that is visible from this instance.TypeVariableSource.AbstractBase.findVariable
(String symbol) Finds a particular variable with the given name in the closes type variable source that is visible from this instance.TypeVariableSource.findVariable
(String symbol) Finds a particular variable with the given name in the closes type variable source that is visible from this instance.Method parameters in net.bytebuddy.description with type arguments of type TypeDescription.GenericModifier 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 in net.bytebuddy.description.field
Fields in net.bytebuddy.description.field declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
FieldDescription.TypeSubstituting.declaringType
The declaring type of the field.private final TypeDescription.Generic
FieldList.TypeSubstituting.declaringType
The field's actual declaring type.private final TypeDescription.Generic
FieldDescription.Latent.fieldType
The type of the field.private final TypeDescription.Generic
FieldDescription.Token.type
The type of the represented field.Fields in net.bytebuddy.description.field with type parameters of type TypeDescription.GenericModifier 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 that return TypeDescription.GenericModifier and TypeMethodDescriptionFieldDescription.InGenericShape.getDeclaringType()
Returns the declaring type of this instance.FieldDescription.TypeSubstituting.getDeclaringType()
Returns the declaring type of this instance.FieldDescription.ForLoadedField.getType()
Returns the type of the described field.FieldDescription.getType()
Returns the type of the described field.FieldDescription.Latent.getType()
Returns the type of the described field.FieldDescription.Token.getType()
Returns the type of the represented field.FieldDescription.TypeSubstituting.getType()
Returns the type of the described field.Method parameters in net.bytebuddy.description.field with type arguments of type TypeDescription.GenericModifier 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.GenericModifierConstructorDescriptionLatent
(TypeDescription declaringType, String name, int modifiers, TypeDescription.Generic fieldType, List<? extends AnnotationDescription> declaredAnnotations) Creates a new latent field description.Token
(String name, int modifiers, TypeDescription.Generic type) Creates a new field token without annotations.Token
(String name, int modifiers, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new field token.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, List<? extends FieldDescription> fieldDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting field list.Constructor parameters in net.bytebuddy.description.field with type arguments of type TypeDescription.GenericModifierConstructorDescriptionTypeSubstituting
(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 in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
MethodDescription.TypeSubstituting.declaringType
The type that declares this type-substituted method.protected final TypeDescription.Generic
MethodList.TypeSubstituting.declaringType
The methods' declaring type.private final TypeDescription.Generic
ParameterDescription.Latent.parameterType
The type of the parameter.private final TypeDescription.Generic
MethodDescription.Latent.receiverType
The receiver type of this method ornull
if the receiver type is defined implicitly.private final TypeDescription.Generic
MethodDescription.Token.receiverType
The receiver type of the represented method ornull
if the receiver type is implicit.private final TypeDescription.Generic
MethodDescription.Latent.returnType
The return type of this method.private final TypeDescription.Generic
MethodDescription.Token.returnType
The return type of the represented method.private final TypeDescription.Generic
ParameterDescription.Token.type
The type of the represented parameter.Fields in net.bytebuddy.description.method with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final List
<? extends TypeDescription.Generic> MethodDescription.Latent.exceptionTypes
This method's exception types.private final List
<? extends TypeDescription.Generic> MethodDescription.Token.exceptionTypes
The exception types of the represented method.private 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 that return TypeDescription.GenericModifier and TypeMethodDescriptionMethodDescription.InGenericShape.getDeclaringType()
Returns the declaring type of this instance.MethodDescription.TypeSubstituting.getDeclaringType()
Returns the declaring type of this instance.MethodDescription.getReceiverType()
Returns this methods receiver type.MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable.getReceiverType()
Returns this methods receiver type.MethodDescription.InDefinedShape.AbstractBase.getReceiverType()
Returns this methods receiver type.MethodDescription.Latent.getReceiverType()
Returns this methods receiver type.MethodDescription.Token.getReceiverType()
Returns the receiver type of this token ornull
if the receiver type is implicit.MethodDescription.TypeSubstituting.getReceiverType()
Returns this methods receiver type.MethodDescription.ForLoadedConstructor.getReturnType()
Returns the return type of the described method.MethodDescription.ForLoadedMethod.getReturnType()
Returns the return type of the described method.MethodDescription.getReturnType()
Returns the return type of the described method.MethodDescription.Latent.getReturnType()
Returns the return type of the described method.MethodDescription.Latent.TypeInitializer.getReturnType()
Returns the return type of the described method.MethodDescription.Token.getReturnType()
Returns the return type of the represented method.MethodDescription.TypeSubstituting.getReturnType()
Returns the return type of the described method.ParameterDescription.ForLoadedParameter.OfConstructor.getType()
Returns the type of this parameter.ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor.getType()
Returns the type of this parameter.ParameterDescription.ForLoadedParameter.OfLegacyVmMethod.getType()
Returns the type of this parameter.ParameterDescription.ForLoadedParameter.OfMethod.getType()
Returns the type of this parameter.ParameterDescription.getType()
Returns the type of this parameter.ParameterDescription.Latent.getType()
Returns the type of this parameter.ParameterDescription.Token.getType()
Returns the type of the represented method parameter.ParameterDescription.TypeSubstituting.getType()
Returns the type of this parameter.Method parameters in net.bytebuddy.description.method with type arguments of type TypeDescription.GenericModifier 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.GenericModifierConstructorDescriptionLatent
(TypeDescription declaringType, String internalName, int modifiers, List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, List<? extends ParameterDescription.Token> parameterTokens, List<? extends TypeDescription.Generic> exceptionTypes, List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?, ?> defaultValue, TypeDescription.Generic receiverType) Creates a new latent method description.Latent
(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, int index, int offset) Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.Latent
(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, List<? extends AnnotationDescription> declaredAnnotations, String name, Integer modifiers, int index, int offset) Creates a latent parameter description.Token
(String name, int modifiers, List<? extends TypeVariableToken> typeVariableTokens, TypeDescription.Generic returnType, List<? extends ParameterDescription.Token> parameterTokens, List<? extends TypeDescription.Generic> exceptionTypes, List<? extends AnnotationDescription> annotations, AnnotationValue<?, ?> defaultValue, TypeDescription.Generic receiverType) Creates a new token for a method description.Token
(String name, int modifiers, TypeDescription.Generic returnType) Creates a new method token representing a method without any parameters, exception types, type variables or annotations.Token
(String name, int modifiers, TypeDescription.Generic returnType, List<? extends TypeDescription.Generic> parameterTypes) Creates a new method token with simple values.Token
(TypeDescription.Generic type) Creates a new parameter token without an explicit name, an explicit modifier or annotations.Token
(TypeDescription.Generic type, String name, Integer modifiers) Creates a parameter token without annotations.Token
(TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new parameter token without an explicit name or an explicit modifier.Token
(TypeDescription.Generic type, List<? extends AnnotationDescription> annotations, String name, Integer modifiers) Creates a new parameter token.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, List<? extends MethodDescription> methodDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting method list.Constructor parameters in net.bytebuddy.description.method with type arguments of type TypeDescription.GenericModifierConstructorDescriptionToken
(String name, int modifiers, TypeDescription.Generic returnType, List<? extends TypeDescription.Generic> parameterTypes) Creates a new method token with simple values.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, 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 in net.bytebuddy.description.type
Classes in net.bytebuddy.description.type that implement TypeDescription.GenericModifier and TypeClassDescriptionstatic class
An abstract base implementation of a generic type description.static class
A lazy projection of a generic type.static class
A lazy projection of a field's type.static class
A lazy projection of a method's generic return type.static class
A lazy projection of a generic super type.static class
A lazy projection of the parameter type of aConstructor
.static class
A lazy projection of the parameter type of aMethod
.static class
A lazy projection of ajava.lang.reflect.RecordComponent
's type.static class
A lazy projection of a type that resolves super class and interface types eagerly.protected static class
A description of an annotated lazy type with eager navigation.static class
A lazy projection of a type with a lazy resolution of super class and interface types.protected static class
A lazy interface type description for a lazy projection.protected static class
A lazy super class description for a lazy projection.protected static class
A description of an annotated lazy type with lazy navigation.static class
A lazy projection that applies a visitor only when resolving the generic type but not when reading the erasure.static class
A base implementation of a generic type description that represents a potentially generic array.static class
A description of a loaded generic array type.static class
A latent implementation of a generic array type.static class
A raw type representation of a non-generic type.static class
A type description for a type erasure.static class
Represents a non-generic type for a loadedClass
.static class
A representation of a raw type that preserves its generic super types' generic information with a minimum but erases all of their members' types.static class
A latent description of a non-generic type.static class
A base implementation of a generic type description that represents a parameterized type.static class
Represents an erasure as a generic type where all type variables are representing their own arguments.static class
Description of a loaded parameterized type.static class
A representation of a parameterized type that is a super type of a raw type but preserves the minimal type information that is required for allowing creating correct erasures for overridden methods.static class
A latent description of a parameterized type.static class
A base implementation of a generic type description that represents a type variable.static class
Description of a loaded type variable.static class
Implementation of a symbolic type variable.static class
A type variable with explicit annotations that replace the annotations that are declared by the provided type variable.static class
A base implementation of a generic type description that represents a wildcard type.static class
Description of a loaded wildcard.static class
A latent description of a wildcard type.protected static class
Representation of a type variable without annotations.protected class
Implementation of a type variable on a method that is not substituted.protected static class
A type projection that attempts to load any super type of the delegate type.protected static class
A wrapper for representing a type variable in its attached state.private static class
A projection of a specific exception type.private static class
A type projection of an interface type.private static class
A projection of a specific exception type.Fields in net.bytebuddy.description.type declared as TypeDescription.GenericModifier and TypeFieldDescriptionstatic final TypeDescription.Generic
TypeDescription.Generic.ANNOTATION
Deprecated.static final TypeDescription.Generic
TypeDescription.Generic.CLASS
Deprecated.private final TypeDescription.Generic
TypeDescription.Generic.Builder.OfGenericArrayType.componentType
The generic component type.private final TypeDescription.Generic
TypeDescription.Generic.OfGenericArray.Latent.componentType
The component type of the generic array.private final TypeDescription.Generic
RecordComponentDescription.TypeSubstituting.declaringType
The type that declares this type-substituted record component.private final TypeDescription.Generic
RecordComponentList.TypeSubstituting.declaringType
The method that is declaring the transformed record components.private final TypeDescription.Generic
TypeDescription.Generic.OfNonGenericType.Latent.declaringType
The non-generic type's declaring type.private final TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithResolvedErasure.delegate
The unresolved generic type.private final TypeDescription.Generic
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.delegate
The delegate type description.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.genericArray
The generic array type to which another type is assigned.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.ContravariantBinding.lowerBound
The lower bound type of a contravariant parameter.static final TypeDescription.Generic
TypeDescription.Generic.OBJECT
Deprecated.private final TypeDescription.Generic
TypeDescription.Generic.Builder.OfNonGenericType.ownerType
The raw type's (annotated) declaring type ornull
if no such type is defined.private final TypeDescription.Generic
TypeDescription.Generic.Builder.OfParameterizedType.ownerType
The generic owner type.private final TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType.Latent.ownerType
This parameterized type's owner type ornull
if no owner type exists.private final TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType.ForReifiedType.parameterizedType
The represented parameterized type.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.parameterizedType
The parameterized type to which another type is assigned.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.parameterizedType
The parameterized type for which type variables are bound.private final TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType.rawInterface
The raw interface that is declared by the erasure of the represented lazy projection.private final TypeDescription.Generic
TypeDescription.Latent.superClass
The super type ornull
if no such type exists.private final TypeDescription.Generic
RecordComponentDescription.Latent.type
The record component's type.private final TypeDescription.Generic
RecordComponentDescription.Token.type
The token's type.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding.typeDescription
The invariant type of the parameter.private final TypeDescription.Generic
TypeDescription.Generic.OfTypeVariable.WithAnnotationOverlay.typeVariable
The type variable to represent.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.AnnotationStripper.NonAnnotatedTypeVariable.typeVariable
The represented type variable.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.typeVariable
The description of the type variable to which another type is assigned.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.RetainedMethodTypeVariable.typeVariable
The discovered type variable.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.typeVariable
The discovered type variable.static final TypeDescription.Generic
TypeDescription.Generic.UNDEFINED
Represents any undefined property representing a generic type description that is instead represented asnull
in order to resemble the Java reflection API which returnsnull
and is intuitive to many Java developers.private final TypeDescription.Generic
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.CovariantBinding.upperBound
The lower bound type of a covariant parameter.static final TypeDescription.Generic
TypeDescription.Generic.VOID
Deprecated.Fields in net.bytebuddy.description.type with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final List
<? extends TypeDescription.Generic> TypeVariableToken.bounds
The type variable's upper bounds.private final List
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.detachedTypes
The detached types this list represents.private final List
<? extends TypeDescription.Generic> TypeList.Generic.ForDetachedTypes.WithResolvedErasure.detachedTypes
The detached types this list represents.private final List
<? extends TypeDescription.Generic> TypeDescription.Latent.interfaces
The interfaces that this type implements.private final List
<? extends TypeDescription.Generic> TypeDescription.Generic.OfWildcardType.Latent.lowerBounds
The wildcard's lower bounds.private final List
<? extends TypeDescription.Generic> TypeDescription.Generic.OfParameterizedType.Latent.parameters
The parameters of this parameterized type.private final List
<? extends TypeDescription.Generic> TypeDescription.Generic.Builder.OfParameterizedType.parameterTypes
The parameter types.private static final Map
<Class<?>, TypeDescription.Generic> TypeDescription.Generic.OfNonGenericType.ForLoadedType.TYPE_CACHE
A cache of generic type descriptions for commonly used types to avoid unnecessary allocations.private final List
<? extends TypeDescription.Generic> TypeDescription.Generic.OfWildcardType.Latent.upperBounds
The wildcard's upper bounds.private 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.GenericModifier and TypeMethodDescriptionTypeDefinition.asGenericType()
Returns this type definition as a generic type.TypeDescription.AbstractBase.asGenericType()
Returns this type definition as a generic type.TypeDescription.ForLoadedType.asGenericType()
Returns this type definition as a generic type.TypeDescription.Generic.AbstractBase.asGenericType()
Returns this type definition as a generic type.TypeDescription.Generic.AbstractBase.asRawType()
Returns this type as a raw type.TypeDescription.Generic.asRawType()
Returns this type as a raw type.TypeDescription.Generic.Builder.asWildcardLowerBound()
Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardLowerBound
(Annotation... annotation) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardLowerBound
(Collection<? extends AnnotationDescription> annotations) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardLowerBound
(List<? extends Annotation> annotations) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardLowerBound
(AnnotationDescription... annotation) Transforms this type into the lower bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound()
Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(Annotation... annotation) Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(Collection<? extends AnnotationDescription> annotations) Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(List<? extends Annotation> annotations) Transforms this type into the upper bound of a wildcard type.TypeDescription.Generic.Builder.asWildcardUpperBound
(AnnotationDescription... annotation) Transforms this type into the upper bound of a wildcard type.static TypeDescription.Generic
TypeDescription.Generic.OfWildcardType.Latent.boundedAbove
(TypeDescription.Generic upperBound, AnnotationSource annotationSource) Creates a wildcard with an upper bound.static TypeDescription.Generic
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow
(TypeDescription.Generic lowerBound, AnnotationSource annotationSource) Creates a wildcard with a lower bound.TypeDescription.Generic.Builder.build()
Finalizes the build and finalizes the created type as a generic type description.TypeDescription.Generic.Builder.build
(Annotation... annotation) Finalizes the build and finalizes the created type as a generic type description.TypeDescription.Generic.Builder.build
(Collection<? extends AnnotationDescription> annotations) Finalizes the build and finalizes the created type as a generic type description.TypeDescription.Generic.Builder.build
(List<? extends Annotation> annotations) Finalizes the build and finalizes the created type as a generic type description.TypeDescription.Generic.Builder.build
(AnnotationDescription... annotation) Finalizes the build and finalizes the created type as a generic type description.static TypeDescription.Generic
Describes a loaded generic type as aTypeDescription.Generic
.protected static TypeDescription.Generic
TypeDefinition.Sort.describe
(Type type, TypeDescription.Generic.AnnotationReader annotationReader) Describes the generic type while using the supplied annotation reader for resolving type annotations if this language feature is available on the current JVM.static TypeDescription.Generic
TypeDefinition.Sort.describeAnnotated
(AnnotatedElement annotatedType) Describes a loadedjava.lang.reflect.AnnotatedType
as aTypeDescription.Generic
.protected static TypeDescription.Generic
TypeDefinition.Sort.describeOrNull
(Type type, TypeDescription.Generic.AnnotationReader annotationReader) Describes the generic type while using the supplied annotation reader for resolving type annotations if this language feature is available on the current JVM.protected abstract TypeDescription.Generic
TypeDescription.Generic.Builder.doBuild()
Builds the generic type.protected TypeDescription.Generic
TypeDescription.Generic.Builder.OfGenericArrayType.doBuild()
protected TypeDescription.Generic
TypeDescription.Generic.Builder.OfNonGenericType.doBuild()
protected TypeDescription.Generic
TypeDescription.Generic.Builder.OfParameterizedType.doBuild()
protected TypeDescription.Generic
TypeDescription.Generic.Builder.OfTypeVariable.doBuild()
TypeDescription.Generic.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.LazyProjection.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfGenericArray.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfNonGenericType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfParameterizedType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfTypeVariable.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfTypeVariable.Symbolic.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfWildcardType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList.get
(int index) TypeDescription.Generic.OfParameterizedType.ForLoadedType.ParameterArgumentTypeList.get
(int index) TypeDescription.Generic.OfTypeVariable.ForLoadedType.TypeVariableBoundList.get
(int index) TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList.get
(int index) TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardUpperBoundTypeList.get
(int index) TypeDescription.SuperTypeLoading.ClassLoadingTypeList.get
(int index) TypeList.Generic.Explicit.get
(int index) TypeList.Generic.ForDetachedTypes.get
(int index) TypeList.Generic.ForDetachedTypes.OfTypeVariables.get
(int index) TypeList.Generic.ForDetachedTypes.WithResolvedErasure.get
(int index) TypeList.Generic.ForLoadedTypes.get
(int index) TypeList.Generic.ForLoadedTypes.OfTypeVariables.get
(int index) TypeList.Generic.OfConstructorExceptionTypes.get
(int index) TypeList.Generic.OfLoadedInterfaceTypes.get
(int index) TypeList.Generic.OfMethodExceptionTypes.get
(int index) TypeDescription.Generic.getComponentType()
Returns the component type of this type.TypeDescription.Generic.LazyProjection.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfGenericArray.ForLoadedType.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfGenericArray.Latent.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfNonGenericType.ForErasure.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfNonGenericType.ForLoadedType.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfNonGenericType.Latent.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfParameterizedType.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfTypeVariable.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfTypeVariable.Symbolic.getComponentType()
Returns the component type of this type.TypeDescription.Generic.OfWildcardType.getComponentType()
Returns the component type of this type.TypeDescription.Generic.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.LazyProjection.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfGenericArray.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfNonGenericType.ForErasure.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfNonGenericType.ForLoadedType.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfNonGenericType.Latent.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfParameterizedType.ForLoadedType.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfParameterizedType.ForReifiedType.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfParameterizedType.Latent.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfTypeVariable.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfTypeVariable.Symbolic.getOwnerType()
Returns the owner type of this type.TypeDescription.Generic.OfWildcardType.getOwnerType()
Returns the owner type of this type.TypeDefinition.getSuperClass()
Returns the super class of this type.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getSuperClass()
Returns the super class of this type.TypeDescription.ArrayProjection.getSuperClass()
Returns the super class of this type.TypeDescription.ForLoadedType.getSuperClass()
Returns the super class of this type.TypeDescription.ForPackageDescription.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.LazyProjection.WithEagerNavigation.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.LazyProjection.WithLazyNavigation.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfGenericArray.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfNonGenericType.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfParameterizedType.ForReifiedType.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfParameterizedType.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfTypeVariable.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfTypeVariable.Symbolic.getSuperClass()
Returns the super class of this type.TypeDescription.Generic.OfWildcardType.getSuperClass()
Returns the super class of this type.TypeDescription.Latent.getSuperClass()
Returns the super class of this type.TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.getSuperClass()
Returns the super class of this type.TypeDescription.SuperTypeLoading.getSuperClass()
Returns the super class of this type.RecordComponentDescription.ForLoadedRecordComponent.getType()
Returns the type of the record.RecordComponentDescription.getType()
Returns the type of the record.RecordComponentDescription.Latent.getType()
Returns the type of the record.RecordComponentDescription.Token.getType()
Returns the token's type.RecordComponentDescription.TypeSubstituting.getType()
Returns the type of the record.static TypeDescription.Generic
Creates a new lazy projection of a type's super class.protected static TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.of
(TypeDescription.Generic.LazyProjection delegate) Resolves a lazy super class description.protected static TypeDescription.Generic
Resolves a lazy proxy for a loaded type as a generic type description.static TypeDescription.Generic
Returns a new immutable generic type description for a loaded type.protected static TypeDescription.Generic
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.of
(TypeDescription typeDescription) Creates a new generic type representation for an erasure where any generified type is reified.static TypeDescription.Generic
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.of
(TypeDescription typeDescription) Represents the supplied type description as a generified erasure if it is generified or as a non-generic type if not so.TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.ForRawType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Generalizing.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.NoOp.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Reifying.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Substitutor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.TypeErasing.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onMethod
(MethodDescription.InDefinedShape methodDescription) Applies the visitor on a method.TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.ForRawType.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Generalizing.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.NoOp.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Reifying.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Substitutor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.ForRawType.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Generalizing.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.NoOp.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Substitutor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForReplacement.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onSimpleType
(TypeDescription.Generic typeDescription) protected abstract TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.onSimpleType
(TypeDescription.Generic typeDescription) Visits a simple, non-generic type, i.e.protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onSimpleType
(TypeDescription.Generic typeDescription) TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onType
(TypeDescription typeDescription) Applies the visitor on a type.TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.ForRawType.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Generalizing.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.NoOp.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Reifying.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForReplacement.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.ForRawType.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Generalizing.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.NoOp.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Reifying.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Substitutor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.TypeErasing.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.ForLoadedFieldType.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.ForLoadedReturnType.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.resolve()
Resolves the actual generic type.protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.OfConstructorParameter.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.OfMethodParameter.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.OfRecordComponent.resolve()
protected abstract TypeDescription.Generic
TypeDescription.Generic.LazyProjection.resolve()
Resolves the actual generic type.protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.resolve()
protected TypeDescription.Generic
TypeDescription.Generic.LazyProjection.WithResolvedErasure.resolve()
protected TypeDescription.Generic
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.resolve()
protected TypeDescription.Generic
TypeList.Generic.OfConstructorExceptionTypes.TypeProjection.resolve()
protected TypeDescription.Generic
TypeList.Generic.OfLoadedInterfaceTypes.TypeProjection.resolve()
protected TypeDescription.Generic
TypeList.Generic.OfMethodExceptionTypes.TypeProjection.resolve()
static TypeDescription.Generic
TypeDescription.Generic.OfWildcardType.Latent.unbounded
(AnnotationSource annotationSource) Creates an unbounded wildcard.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard()
Creates an unbound wildcard without type annotations.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(Annotation... annotation) Creates an unbound wildcard.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(Collection<? extends AnnotationDescription> annotations) Creates an unbound wildcard.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(List<? extends Annotation> annotations) Creates an unbound wildcard.static TypeDescription.Generic
TypeDescription.Generic.Builder.unboundWildcard
(AnnotationDescription... annotation) Creates an unbound wildcard.Methods in net.bytebuddy.description.type that return types with arguments of type TypeDescription.GenericModifier 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.GenericModifier and TypeMethodDescriptionprotected abstract void
TypeDescription.Generic.OfParameterizedType.RenderingDelegate.apply
(StringBuilder stringBuilder, TypeDescription erasure, TypeDescription.Generic ownerType) Applies this rendering delegate.static TypeDescription.Generic
TypeDescription.Generic.OfWildcardType.Latent.boundedAbove
(TypeDescription.Generic upperBound, AnnotationSource annotationSource) Creates a wildcard with an upper bound.static TypeDescription.Generic
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow
(TypeDescription.Generic lowerBound, AnnotationSource annotationSource) Creates a wildcard with a lower bound.TypeDescription.Generic.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.LazyProjection.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfGenericArray.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfNonGenericType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfParameterizedType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfTypeVariable.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfTypeVariable.Symbolic.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.TypeDescription.Generic.OfWildcardType.findBindingOf
(TypeDescription.Generic typeVariable) Returns the parameter binding of the supplied type variable.boolean
TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase.isAssignableFrom
(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.boolean
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.ContravariantBinding.isAssignableFrom
(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.boolean
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.CovariantBinding.isAssignableFrom
(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.boolean
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding.isAssignableFrom
(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.boolean
TypeDescription.Generic.Visitor.Assigner.Dispatcher.isAssignableFrom
(TypeDescription.Generic typeDescription) Checks if the represented type is a super type of the type that is supplied as an argument.private boolean
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.isValid
(TypeDescription.Generic typeDescription) Checks if the supplied type's type annotations are valid.TypeDescription.Generic.Builder.of
(TypeDescription.Generic typeDescription) Resolves a generic type description to a builder of the same type.static TypeVariableToken
TypeVariableToken.of
(TypeDescription.Generic typeVariable, ElementMatcher<? super TypeDescription> matcher) Transforms a type variable into a type variable token with its bounds detached.static boolean
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.ofFormalTypeVariable
(TypeDescription.Generic typeVariable) Validates the type annotations on a formal type variable but not on its bounds..TypeDescription.Generic.Builder.Visitor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Assigner.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.ForRawType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Generalizing.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.NoOp.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Reducing.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Reifying.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Substitutor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.TypeErasing.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Visitor.Validator.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).TypeDescription.Generic.Builder.Visitor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Assigner.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.ForRawType.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Generalizing.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.NoOp.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Reducing.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Reifying.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Substitutor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).TypeDescription.Generic.Visitor.Validator.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).private void
TypeDescription.Generic.Visitor.ForSignatureVisitor.onOwnableType
(TypeDescription.Generic ownableType) Visits a type which might define an owner type.TypeDescription.Generic.Builder.Visitor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Assigner.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.ForRawType.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Generalizing.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.NoOp.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Reducing.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Substitutor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).TypeDescription.Generic.Visitor.Validator.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForReplacement.onSimpleType
(TypeDescription.Generic typeDescription) protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onSimpleType
(TypeDescription.Generic typeDescription) protected abstract TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.onSimpleType
(TypeDescription.Generic typeDescription) Visits a simple, non-generic type, i.e.protected TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onSimpleType
(TypeDescription.Generic typeDescription) TypeDescription.Generic.Builder.Visitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Assigner.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.ForRawType.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Generalizing.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.NoOp.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Reducing.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Reifying.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForReplacement.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Visitor.Validator.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).TypeDescription.Generic.Builder.Visitor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Assigner.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.ForRawType.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).org.objectweb.asm.signature.SignatureVisitor
TypeDescription.Generic.Visitor.ForSignatureVisitor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Generalizing.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.NoOp.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Reducing.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Reifying.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Substitutor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.TypeErasing.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Visitor.Validator.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).TypeDescription.Generic.Builder.parameterizedType
(TypeDescription rawType, TypeDescription.Generic ownerType, Collection<? extends TypeDefinition> parameters) Creates a parameterized type.TypeDescription.Generic.Builder.rawType
(Class<?> type, TypeDescription.Generic ownerType) Creates a raw type of a type description where the supplied owner type is used as .TypeDescription.Generic.Builder.rawType
(TypeDescription type, TypeDescription.Generic ownerType) Creates a raw type of a type description.Method parameters in net.bytebuddy.description.type with type arguments of type TypeDescription.GenericModifier 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.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.static TypeList.Generic
TypeList.Generic.ForDetachedTypes.attach
(FieldDescription fieldDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided field.static TypeList.Generic
TypeList.Generic.ForDetachedTypes.attach
(MethodDescription methodDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided method.static TypeList.Generic
TypeList.Generic.ForDetachedTypes.attach
(ParameterDescription parameterDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided parameter.protected TypeList.Generic
TypeList.Generic.AbstractBase.wrap
(List<TypeDescription.Generic> values) Constructors in net.bytebuddy.description.type with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
ClassLoadingTypeProjection
(TypeDescription.Generic delegate, ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate) Creates a class loading type description.protected
ContravariantBinding
(TypeDescription.Generic lowerBound) Creates a new dispatcher for contravariant parameter of a parameterized type.protected
CovariantBinding
(TypeDescription.Generic upperBound) Creates a new dispatcher for covariant parameter of a parameterized type.protected
ForGenericArray
(TypeDescription.Generic genericArray) Creates a new dispatcher for checking the assignability of a generic array type.protected
ForParameterizedType
(TypeDescription.Generic parameterizedType) Creates a new dispatcher for checking the assignability of a parameterized type.protected
ForReifiedType
(TypeDescription.Generic parameterizedType) Creates a new reified parameterized type.protected
ForTypeVariable
(TypeDescription.Generic typeVariable) Creates a new dispatcher of a type variable.protected
ForTypeVariableBinding
(TypeDescription.Generic parameterizedType) Creates a new visitor for binding a parameterized type's type arguments to its type variables.protected
InvariantBinding
(TypeDescription.Generic typeDescription) Creates a new dispatcher for an invariant parameter of a parameterized type.Latent
(TypeDescription declaringType, String name, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new latent record component.Latent
(TypeDescription.Generic componentType, AnnotationSource annotationSource) Creates a latent representation of a generic array type.protected
Latent
(TypeDescription typeDescription, TypeDescription.Generic declaringType, AnnotationSource annotationSource) Creates a non-generic type.Latent
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameters, AnnotationSource annotationSource) Creates a description of a latent parameterized type.Latent
(String name, int modifiers, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaces) Creates a new latent type.Latent
(String name, int modifiers, TypeDescription.Generic superClass, TypeDescription.Generic... anInterface) Creates a new latent type.protected
LazyInterfaceType
(TypeDescription.Generic.LazyProjection delegate, int index, TypeDescription.Generic rawInterface) Creates a new lazy interface type.protected
NonAnnotatedTypeVariable
(TypeDescription.Generic typeVariable) Creates a new non-annotated type variable.protected
OfGenericArrayType
(TypeDescription.Generic componentType) Creates a type builder for building a generic array type.protected
OfGenericArrayType
(TypeDescription.Generic componentType, List<? extends AnnotationDescription> annotations) Creates a type builder for building a generic array type.protected
OfNonGenericType
(TypeDescription typeDescription, TypeDescription.Generic ownerType) Creates a builder for a non-generic type.protected
OfNonGenericType
(TypeDescription typeDescription, TypeDescription.Generic ownerType, List<? extends AnnotationDescription> annotations) Creates a builder for a non-generic type.protected
OfParameterizedType
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes) Creates a builder for a parameterized type.protected
OfParameterizedType
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes, List<? extends AnnotationDescription> annotations) Creates a builder for a parameterized type.protected
RetainedMethodTypeVariable
(TypeDescription.Generic typeVariable) Creates a new retained type variable.Token
(String name, TypeDescription.Generic type) Creates a new record component token without annotations.Token
(String name, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new record component token.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.protected
TypeVariableSubstitutor
(TypeDescription.Generic typeVariable) Creates a new type variable substitutor.WithAnnotationOverlay
(TypeDescription.Generic typeVariable, AnnotationSource annotationSource) Creates a new type definition for a type variable with explicit annotations.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.Constructor parameters in net.bytebuddy.description.type with type arguments of type TypeDescription.GenericModifierConstructorDescriptionprotected
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.ForDetachedTypes
(List<? extends TypeDescription.Generic> detachedTypes, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a list of detached types that are attached on reception.Latent
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameters, AnnotationSource annotationSource) Creates a description of a latent parameterized type.protected
Latent
(List<? extends TypeDescription.Generic> upperBounds, List<? extends TypeDescription.Generic> lowerBounds, AnnotationSource annotationSource) Creates a description of a latent wildcard.Latent
(String name, int modifiers, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaces) Creates a new latent type.protected
OfParameterizedType
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes) Creates a builder for a parameterized type.protected
OfParameterizedType
(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes, List<? extends AnnotationDescription> annotations) Creates a builder for a parameterized type.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.TypeVariableToken
(String symbol, List<? extends TypeDescription.Generic> bounds) Creates a new type variable token without annotations.TypeVariableToken
(String symbol, List<? extends TypeDescription.Generic> bounds, List<? extends AnnotationDescription> annotations) Creates a new type variable token.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.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 in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return TypeDescription.GenericModifier and TypeMethodDescriptionTransformer.ForMethod.TransformedMethod.getReceiverType()
Returns this methods receiver type.Transformer.ForMethod.TransformedMethod.getReturnType()
Returns the return type of the described method.Transformer.ForField.TransformedField.getType()
Returns the type of the described field.Transformer.ForMethod.TransformedMethod.TransformedParameter.getType()
Returns the type of this parameter.Transformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).Methods in net.bytebuddy.dynamic with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionTransformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.receiverType
(TypeDescription.Generic receiverType) Defines the supplied (annotated) receiver type for the previously defined or matched method.DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.receiverType
(TypeDescription.Generic receiverType) Defines the supplied (annotated) receiver type for the previously defined or matched method.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.receiverType
(TypeDescription.Generic receiverType) Defines the supplied (annotated) receiver type for the previously defined or matched method.Method parameters in net.bytebuddy.dynamic with type arguments of type TypeDescription.GenericModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.transform
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Transforms any type variable that is defined by this type if it is matched by the supplied matcher.DynamicType.Builder.AbstractBase.Delegator.transform
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Transforms any type variable that is defined by this type if it is matched by the supplied matcher.DynamicType.Builder.transform
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Transforms any type variable that is defined by this type if it is matched by the supplied matcher. -
Uses of TypeDescription.Generic in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
InstrumentedType.Default.superClass
The generic super type of the instrumented type.Fields in net.bytebuddy.dynamic.scaffold with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final List
<? extends TypeDescription.Generic> InstrumentedType.Default.interfaceTypes
A list of interfaces of the instrumented type.private 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 that return TypeDescription.GenericModifier and TypeMethodDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getReturnType()
Returns the return type of the described method.TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getReturnType()
Returns the return type of the described method.TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getReturnType()
Returns the return type of the described method.InstrumentedType.Default.getSuperClass()
Returns the super class of this type.InstrumentedType.Frozen.getSuperClass()
Returns the super class of this type.Methods in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionprotected MethodGraph.Compiler.Default.Key.Store
<T> MethodGraph.Compiler.Default.analyzeNullable
(TypeDescription.Generic typeDescription, Map<TypeDefinition, MethodGraph.Compiler.Default.Key.Store<T>> snapshots, ElementMatcher<? super MethodDescription> relevanceMatcher) Analyzes the given type description.static InstrumentedType
InstrumentedType.Default.of
(String name, TypeDescription.Generic superClass, int modifiers) Creates a new instrumented type.static InstrumentedType
InstrumentedType.Default.of
(String name, TypeDescription.Generic superClass, ModifierContributor.ForType... modifierContributor) Creates a new instrumented type.InstrumentedType.Factory.Default.subclass
(String name, int modifiers, TypeDescription.Generic superClass) Creates a new instrumented type as a subclass.InstrumentedType.Factory.subclass
(String name, int modifiers, TypeDescription.Generic superClass) Creates a new instrumented type as a subclass.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type TypeDescription.GenericModifier 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.InstrumentedType.Default.withTypeVariables
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Applies a transformation onto all existing type variables of this instrumented type.InstrumentedType.Frozen.withTypeVariables
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Applies a transformation onto all existing type variables of this instrumented type.InstrumentedType.WithFlexibleName.withTypeVariables
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Applies a transformation onto all existing type variables of this instrumented type.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
Default
(String name, int modifiers, TypeDescription.Generic superClass, List<? extends TypeVariableToken> typeVariables, List<? extends TypeDescription.Generic> interfaceTypes, List<? extends FieldDescription.Token> fieldTokens, Map<String, Object> auxiliaryFieldValues, List<? extends MethodDescription.Token> methodTokens, List<? extends RecordComponentDescription.Token> recordComponentTokens, List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, List<? extends TypeDescription> declaredTypes, List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, List<? extends TypeDescription> nestMembers) Creates a new instrumented type.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type TypeDescription.GenericModifierConstructorDescriptionprotected
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 in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline that return TypeDescription.GenericModifier and TypeMethodDescriptionMethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getReturnType()
Returns the return type of the described method.MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getReturnType()
Returns the return type of the described method.Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type TypeDescription.GenericModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.transform
(ElementMatcher<? super TypeDescription.Generic> matcher, Transformer<TypeVariableToken> transformer) Transforms any type variable that is defined by this type if it is matched by the supplied matcher. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
Implementation.Context.Default.CacheValueField.fieldType
The type of the cache's field.private final TypeDescription.Generic
MethodCall.TargetHandler.ForValue.Factory.fieldType
The type of the field.private final TypeDescription.Generic
MethodDelegation.ImplementationDelegate.ForField.WithInstance.fieldType
The field's type.private static final TypeDescription.Generic
InvocationHandlerAdapter.INVOCATION_HANDLER_TYPE
A type description of theInvocationHandler
.private final TypeDescription.Generic
FieldAccessor.ForSetter.OfConstantValue.typeDescription
The value's type.Methods in net.bytebuddy.implementation that return TypeDescription.GenericModifier and TypeMethodDescriptionImplementation.Context.Default.AccessorMethod.getReturnType()
Returns the return type of the described method.Implementation.Context.Default.FieldGetter.getReturnType()
Returns the return type of the described method.Implementation.Context.Default.FieldSetter.getReturnType()
Returns the return type of the described method.Implementation.Context.Default.CacheValueField.getType()
Returns the type of the described field.Methods in net.bytebuddy.implementation with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionprotected ByteCodeAppender.Size
FixedValue.apply
(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, TypeDescription.Generic typeDescription, StackManipulation stackManipulation) Blueprint method that for applying the actual implementation.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.doResolve
(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing) Resolves this argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.WithExplicitType.doResolve
(StackManipulation access, TypeDescription.Generic typeDescription, Assigner assigner, Assigner.Typing typing) Resolves this argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.doResolve
(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing) Resolves this argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.WithExplicitType.doResolve
(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing) Resolves this argument provider.FieldAccessor.ForImplicitProperty.setsValue
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription) Defines a setter of a value that is represented by a stack manipulation.FieldAccessor.PropertyConfigurable.setsValue
(StackManipulation stackManipulation, TypeDescription.Generic typeDescription) Defines a setter of a value that is represented by a stack manipulation.Constructors in net.bytebuddy.implementation with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
CacheValueField
(TypeDescription instrumentedType, TypeDescription.Generic fieldType, String suffix, int hashCode) Creates a new cache value field.protected
Factory
(Object target, TypeDescription.Generic fieldType) Creates a new target handler for a static field.protected
OfConstantValue
(FieldAccessor.FieldLocation fieldLocation, Assigner assigner, Assigner.Typing typing, FieldAccessor.ForSetter.TerminationHandler terminationHandler, TypeDescription.Generic typeDescription, StackManipulation stackManipulation) Creates a setter instrumentation for setting a constant value.protected
WithInstance
(String fieldName, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher, Object target, TypeDescription.Generic fieldType) Creates a new implementation delegate for invoking methods on a supplied instance. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.attribute
Fields in net.bytebuddy.implementation.attribute declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
MethodAttributeAppender.ForReceiverType.receiverType
The receiver type for which annotations are appended to the instrumented method.Methods in net.bytebuddy.implementation.attribute with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionprivate AnnotationAppender
AnnotationAppender.ForTypeAnnotations.apply
(TypeDescription.Generic typeDescription, String typePath) Writes all annotations of the supplied type to this instance's annotation appender.AnnotationAppender.ForTypeAnnotations.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).AnnotationAppender.ForTypeAnnotations.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).AnnotationAppender.ForTypeAnnotations.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).AnnotationAppender.ForTypeAnnotations.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).AnnotationAppender.ForTypeAnnotations.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).Method parameters in net.bytebuddy.implementation.attribute with type arguments of type TypeDescription.GenericModifier and TypeMethodDescriptionstatic AnnotationAppender
AnnotationAppender.ForTypeAnnotations.ofTypeVariable
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, int subListIndex, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.static AnnotationAppender
AnnotationAppender.ForTypeAnnotations.ofTypeVariable
(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.Constructors in net.bytebuddy.implementation.attribute with parameters of type TypeDescription.GenericModifierConstructorDescriptionForReceiverType
(TypeDescription.Generic receiverType) Creates a new attribute appender that writes a receiver type. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionprotected abstract MethodDelegationBinder.ParameterBinding
<?> Argument.BindingMechanic.makeBinding
(TypeDescription.Generic source, TypeDescription.Generic target, int sourceParameterIndex, Assigner assigner, Assigner.Typing typing, int parameterOffset) Creates a binding that corresponds to this binding mechanic.Default.Binder.TypeLocator.ForParameterType.resolve
(TypeDescription.Generic parameterType) Resolves the target type.Default.Binder.TypeLocator.ForType.resolve
(TypeDescription.Generic parameterType) Resolves the target type.Default.Binder.TypeLocator.resolve
(TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForInstrumentedType.resolve
(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForParameterType.resolve
(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForType.resolve
(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.resolve
(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.bytecode.assign
Methods in net.bytebuddy.implementation.bytecode.assign with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionAssigner.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) Assigner.Refusing.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.bytecode.assign.primitive
Fields in net.bytebuddy.implementation.bytecode.assign.primitive declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible.originalType
The original type which should be unboxed but is not of any known wrapper type.Methods in net.bytebuddy.implementation.bytecode.assign.primitive that return TypeDescription.GenericModifier and TypeMethodDescriptionprotected TypeDescription.Generic
PrimitiveUnboxingDelegate.getWrapperType()
Returns the wrapper type that this unboxing delegate represents.Methods in net.bytebuddy.implementation.bytecode.assign.primitive with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionPrimitiveTypeAwareAssigner.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) VoidAwareAssigner.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) PrimitiveBoxingDelegate.assignBoxedTo
(TypeDescription.Generic target, Assigner chainedAssigner, Assigner.Typing typing) Creates a stack manipulation that boxes the represented primitive type and applies a chained assignment to the result of this boxing operation.PrimitiveUnboxingDelegate.ExplicitlyTypedUnboxingResponsible.assignUnboxedTo
(TypeDescription.Generic targetType, Assigner assigner, Assigner.Typing typing) Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible.assignUnboxedTo
(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing) Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.PrimitiveUnboxingDelegate.UnboxingResponsible.assignUnboxedTo
(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing) Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.Constructors in net.bytebuddy.implementation.bytecode.assign.primitive with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
ImplicitlyTypedUnboxingResponsible
(TypeDescription.Generic originalType) Creates a new implicitly typed unboxing responsible. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.bytecode.assign.reference
Fields in net.bytebuddy.implementation.bytecode.assign.reference declared as TypeDescription.GenericModifier and TypeFieldDescriptionprotected final TypeDescription.Generic
GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.typeDescription
The type being assigned to another type.private final TypeDescription.Generic
GenericTypeAwareAssigner.IsAssignableToVisitor.typeDescription
The type to which another type is being assigned.private final TypeDescription.Generic
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.wildcard
The wildcard type being assigned to another type.Methods in net.bytebuddy.implementation.bytecode.assign.reference with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionGenericTypeAwareAssigner.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) ReferenceTypeAwareAssigner.assign
(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfNonGenericType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfParameterizedType.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).GenericTypeAwareAssigner.IsAssignableToVisitor.onGenericArray
(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfSimpleType.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.onNonGenericType
(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfSimpleType.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).GenericTypeAwareAssigner.IsAssignableToVisitor.onParameterizedType
(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.onTypeVariable
(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).GenericTypeAwareAssigner.IsAssignableToVisitor.onWildcard
(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD
).Constructors in net.bytebuddy.implementation.bytecode.assign.reference with parameters of type TypeDescription.GenericModifierConstructorDescriptionIsAssignableToVisitor
(TypeDescription.Generic typeDescription) Creates a new visitor to determine assignability of the supplied type.protected
IsAssignableToVisitor
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor to determine assignability of the supplied type.protected
OfGenericArray
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor.protected
OfManifestType
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor for a manifest type.protected
OfNonGenericType
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor.protected
OfParameterizedType
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor.protected
OfSimpleType
(TypeDescription.Generic typeDescription, boolean polymorphic) Creates a new visitor.protected
OfWildcard
(TypeDescription.Generic wildcard) Creates a visitor for a wildcard type assignment. -
Uses of TypeDescription.Generic in net.bytebuddy.implementation.bytecode.collection
Fields in net.bytebuddy.implementation.bytecode.collection declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
ArrayFactory.componentType
The component type of the array this array factory is creating.Methods in net.bytebuddy.implementation.bytecode.collection that return TypeDescription.GenericModifier and TypeMethodDescriptionArrayFactory.getComponentType()
The component type of this factory.CollectionFactory.getComponentType()
The component type of this factory.Methods in net.bytebuddy.implementation.bytecode.collection with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionstatic ArrayFactory
ArrayFactory.forType
(TypeDescription.Generic componentType) Creates a new array factory for a given component type.Constructors in net.bytebuddy.implementation.bytecode.collection with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
ArrayFactory
(TypeDescription.Generic componentType, ArrayFactory.ArrayCreator arrayCreator) Creates a new array factory with a givenArrayFactory.ArrayCreator
without inferring the type from the component type. -
Uses of TypeDescription.Generic in net.bytebuddy.matcher
Fields in net.bytebuddy.matcher with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final ElementMatcher
<? super TypeDescription.Generic> DeclaringTypeMatcher.matcher
The type matcher to be applied if the target element is declared in a type.private final ElementMatcher
<? super TypeDescription.Generic> FieldTypeMatcher.matcher
The type matcher to apply to the field's type.private final ElementMatcher
<? super TypeDescription.Generic> HasSuperClassMatcher.matcher
The matcher to apply to any super class of the matched type.private final ElementMatcher
<? super TypeDescription.Generic> HasSuperTypeMatcher.matcher
The matcher to apply to any super type of the matched type.private final ElementMatcher
<? super TypeDescription.Generic> MethodOverrideMatcher.matcher
The matcher that is to be applied to the type that declares a method of the same shape.private final ElementMatcher
<? super TypeDescription.Generic> MethodParameterTypeMatcher.matcher
The matcher to apply to the type of the parameter.private final ElementMatcher
<? super List<? extends TypeDescription.Generic>> MethodParameterTypesMatcher.matcher
The matcher to apply to the type of the parameter.private final ElementMatcher
<? super TypeDescription.Generic> MethodReturnTypeMatcher.matcher
The type matcher to apply to the matched element's return type.Methods in net.bytebuddy.matcher with type parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionstatic <T extends TypeDescription.Generic>
ElementMatcher.Junction<T> Matches a generic type's erasure against the provided type.static <T extends TypeDescription.Generic>
ElementMatcher.Junction<T> ElementMatchers.erasure
(TypeDescription type) Matches a generic type's erasure against the provided type.static <T extends TypeDescription.Generic>
ElementMatcher.Junction<T> ElementMatchers.erasure
(ElementMatcher<? super TypeDescription> matcher) Converts a matcher for a type description into a matcher for the matched type's erasure.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> Matches an iteration of generic types' erasures against the provided types.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures
(Iterable<? extends TypeDescription> types) Matches an iteration of generic types' erasures against the provided types.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures
(TypeDescription... type) Matches an iteration of generic types' erasures against the provided types.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures
(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher) Applies the provided matchers to an iteration og generic types' erasures.Methods in net.bytebuddy.matcher with parameters of type TypeDescription.GenericModifier and TypeMethodDescriptionstatic <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresGenericException
(TypeDescription.Generic exceptionType) Matches a method that declares the given generic exception type.static <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.genericFieldType
(TypeDescription.Generic fieldType) Matches a field's generic type against the provided matcher.static <T extends ByteCodeElement>
ElementMatcher.Junction<T> ElementMatchers.isDeclaredByGeneric
(TypeDescription.Generic type) Matches aByteCodeElement
for being declared by a givenTypeDescription.Generic
.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericGetter
(TypeDescription.Generic type) Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericSetter
(TypeDescription.Generic type) Matches any Java bean setter method which takes an argument the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFromGeneric
(TypeDescription.Generic type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returnsGeneric
(TypeDescription.Generic type) MatchesMethodDescription
s that returns a givenTypeDescription
.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArgument
(int index, TypeDescription.Generic type) MatchesMethodDescription
s that define a given generic type as a parameter at the given index.Method parameters in net.bytebuddy.matcher with type arguments of type TypeDescription.GenericModifier and TypeMethodDescriptionstatic <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresGenericException
(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matcher) Matches a method's generic exception types against the provided matcher.static <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.genericFieldType
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches a field's generic type against the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasGenericSuperClass
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any type description that declares a super class (but not interface) that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasGenericSuperType
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any type description that declares a super type that matches the provided matcher.static <T extends ParameterDescription>
ElementMatcher.Junction<T> ElementMatchers.hasGenericType
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches a method parameter by its generic type.static <T extends ByteCodeElement>
ElementMatcher.Junction<T> ElementMatchers.isDeclaredByGeneric
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches aByteCodeElement
for being declared by aTypeDescription.Generic
that is matched by the given matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericGetter
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any Java bean getter method which returns a value with a type matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericSetter
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any Java bean setter method which takes an argument that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFromGeneric
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returnsGeneric
(ElementMatcher<? super TypeDescription.Generic> matcher) MatchesMethodDescription
s that match a matched method's return type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArgument
(int index, ElementMatcher<? super TypeDescription.Generic> matcher) MatchesMethodDescription
s that define a given generic type as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArguments
(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matchers) Matches aMethodDescription
by applying an iterable collection of element matcher on any parameter'sTypeDescription.Generic
.Constructor parameters in net.bytebuddy.matcher with type arguments of type TypeDescription.GenericModifierConstructorDescriptionDeclaringTypeMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for the declaring type of an element.FieldTypeMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for a matched field's type.HasSuperClassMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for a super class.HasSuperTypeMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for a super type.MethodOverrideMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new method override matcher.MethodParameterTypeMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for a method's parameter's type.MethodParameterTypesMatcher
(ElementMatcher<? super List<? extends TypeDescription.Generic>> matcher) Creates a new matcher for a method's parameter types.MethodReturnTypeMatcher
(ElementMatcher<? super TypeDescription.Generic> matcher) Creates a new matcher for a matched element's return type. -
Uses of TypeDescription.Generic in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement TypeDescription.GenericModifier and TypeClassDescriptionprotected static class
A generic type representation of a generic array.protected static class
A generic type representation of a lower bound wildcard.protected static class
A generic type description that represents a parameterized type without an enclosing generic owner type.protected static class
A lazy description of a parameterized type with an owner type.protected static class
A representation of a lazy primitive type.protected static class
An annotated representation of a formal type variable.protected static class
A type description that represents a type variable with bounds that are resolved lazily.protected static class
Represents a type variable that a type references but that does not exist.protected static class
A generic type representation of a generic unbound wildcard.protected static class
A generic type representation of a tokenized wildcard with an upper bound.protected static class
Represents a non-generic type that defines type annotations.protected class
A lazy description of a non-generic receiver type.private class
A lazy description of a parameterized receiver type.protected class
Represents a type variable as a type argument with type annotations.protected static class
A representation of a generic type that is described by aTypePool.Default.LazyTypeDescription.GenericTypeToken
.protected static class
A lazy description of a non-well-defined described generic type.Fields in net.bytebuddy.pool declared as TypeDescription.GenericModifier and TypeFieldDescriptionprivate final TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.AnnotatedTypeVariable.typeVariable
The represented type variable.private final TypeDescription.Generic
TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.TypeArgumentList.AnnotatedTypeVariable.typeVariable
The type variable's description.Fields in net.bytebuddy.pool with type parameters of type TypeDescription.GenericModifier and TypeFieldDescriptionprivate final List
<? extends TypeDescription.Generic> TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.TypeArgumentList.typeVariables
The type variables of the represented receiver type.Methods in net.bytebuddy.pool that return TypeDescription.GenericModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable.LazyBoundTokenList.get
(int index) TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound.get
(int index) TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.get
(int index) TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList.get
(int index) TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.TypeArgumentList.get
(int index) TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.TokenList.get
(int index) TypePool.Default.LazyTypeDescription.TokenizedGenericType.TokenList.get
(int index) TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList.get
(int index) TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.LazyGenericArray.getComponentType()
Returns the component type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getComponentType()
Returns the component type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getComponentType()
Returns the component type of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType.getComponentType()
Returns the component type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.getOwnerType()
Returns the owner type of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.getReceiverType()
Returns this methods receiver type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.getReturnType()
Returns the return type of the described method.TypePool.Default.LazyTypeDescription.getSuperClass()
Returns the super class of this type.TypePool.Default.LazyTypeDescription.LazyFieldDescription.getType()
Returns the type of the described field.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription.getType()
Returns the type of this parameter.TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription.getType()
Returns the type of the record.protected static TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.of
(TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, String descriptor) Creates a new raw annotated type.protected static TypeDescription.Generic
TypePool.Default.LazyTypeDescription.TokenizedGenericType.of
(TypePool typePool, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken, String rawTypeDescriptor, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeVariableSource typeVariableSource) Creates a new generic type description for a tokenized generic type.protected TypeDescription.Generic
TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.resolve()
protected TypeDescription.Generic
TypePool.Default.LazyTypeDescription.TokenizedGenericType.resolve()
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.resolveRecordType
(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized.resolveRecordType
(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveRecordType
(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveRecordType
(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveReturnType
(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveReturnType
(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveReturnType
(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveReturnType
(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveSuperClass
(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveSuperClass
(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveSuperClass
(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveSuperClass
(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForRawType.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens) Transforms this token into a generic type representation.TypePool.Default.LazyTypeDescription.GenericTypeToken.toGenericType
(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) Transforms this token into a generic type representation.Constructors in net.bytebuddy.pool with parameters of type TypeDescription.GenericModifierConstructorDescriptionprotected
AnnotatedTypeVariable
(TypePool typePool, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, TypeDescription.Generic typeVariable) Creates a new annotated type variable.protected
AnnotatedTypeVariable
(TypeDescription.Generic typeVariable, int index) Creates a new description of an annotated type variable as a type argument.Constructor parameters in net.bytebuddy.pool with type arguments of type TypeDescription.GenericModifierConstructorDescriptionprotected
TypeArgumentList
(List<? extends TypeDescription.Generic> typeVariables) Creates a new type argument list. -
Uses of TypeDescription.Generic in net.bytebuddy.utility
Constructors in net.bytebuddy.utility with parameters of type TypeDescription.GenericModifierConstructorDescriptionprivate
JavaType
(String typeName, int modifiers, TypeDescription.Generic superClass, TypeList.Generic interfaces) Creates a new java type representation.protected
LatentTypeWithSimpleName
(String name, int modifiers, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaces) Creates a new latent type with a simple name.Constructor parameters in net.bytebuddy.utility with type arguments of type TypeDescription.GenericModifierConstructorDescriptionprotected
LatentTypeWithSimpleName
(String name, int modifiers, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaces) Creates a new latent type with a simple name.
TypeDescription.Generic.OfNonGenericType.ForLoadedType.of(Class)
instead.J