Uses of Class
net.bytebuddy.description.type.TypeVariableToken
Packages that use TypeVariableToken
Package
Description
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.-
Uses of TypeVariableToken in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method with type parameters of type TypeVariableTokenModifier and TypeFieldDescriptionprivate final List<? extends TypeVariableToken>
MethodDescription.Latent.typeVariables
A tokenized list representing the method's type variables.private final List<? extends TypeVariableToken>
MethodDescription.Token.typeVariableTokens
A list of tokens representing the method's type variables.Methods in net.bytebuddy.description.method that return types with arguments of type TypeVariableTokenModifier and TypeMethodDescriptionMethodDescription.Token.getTypeVariableTokens()
Returns the type variables of this method token.Constructor parameters in net.bytebuddy.description.method with type arguments of type TypeVariableTokenModifierConstructorDescriptionLatent
(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.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. -
Uses of TypeVariableToken in net.bytebuddy.description.type
Fields in net.bytebuddy.description.type declared as TypeVariableTokenModifier and TypeFieldDescriptionprivate final TypeVariableToken
TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable.typeVariableToken
A token representing the type variable in its detached state.Fields in net.bytebuddy.description.type with type parameters of type TypeVariableTokenModifier and TypeFieldDescriptionprivate final List<? extends TypeVariableToken>
TypeList.Generic.ForDetachedTypes.OfTypeVariables.detachedTypeVariables
A token representing the type variable in its detached state.private final List<? extends TypeVariableToken>
TypeDescription.Generic.Visitor.Reducing.typeVariableTokens
Any type variables that are directly declared by the member that declares the type being reduced.Methods in net.bytebuddy.description.type that return TypeVariableTokenModifier and TypeMethodDescriptionTypeVariableToken.accept
(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Transforms the types represented by this token by applying the given visitor to them.static TypeVariableToken
TypeVariableToken.of
(TypeDescription.Generic typeVariable, ElementMatcher<? super TypeDescription> matcher) Transforms a type variable into a type variable token with its bounds detached.Methods in net.bytebuddy.description.type that return types with arguments of type TypeVariableTokenModifier and TypeMethodDescriptionTypeList.Generic.AbstractBase.asTokenList
(ElementMatcher<? super TypeDescription> matcher) Transforms a list of attached type variables into their tokenized form.TypeList.Generic.asTokenList
(ElementMatcher<? super TypeDescription> visitor) Transforms a list of attached type variables into their tokenized form.TypeList.Generic.Empty.asTokenList
(ElementMatcher<? super TypeDescription> matcher) Transforms a list of attached type variables into their tokenized form.Method parameters in net.bytebuddy.description.type with type arguments of type TypeVariableTokenModifier and TypeMethodDescriptionstatic TypeList.Generic
TypeList.Generic.ForDetachedTypes.attachVariables
(MethodDescription methodDescription, List<? extends TypeVariableToken> detachedTypeVariables) Creates a list of type variables that are attached to the provided method.static TypeList.Generic
TypeList.Generic.ForDetachedTypes.attachVariables
(TypeDescription typeDescription, List<? extends TypeVariableToken> detachedTypeVariables) Creates a list of type variables that are attached to the provided type.Constructors in net.bytebuddy.description.type with parameters of type TypeVariableTokenModifierConstructorDescriptionprotected
AttachedTypeVariable
(TypeVariableSource typeVariableSource, TypeVariableToken typeVariableToken, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new attached type variable.Reducing
(TypeDescription declaringType, TypeVariableToken... typeVariableToken) Creates a new reducing type visitor.Constructor parameters in net.bytebuddy.description.type with type arguments of type TypeVariableTokenModifierConstructorDescriptionOfTypeVariables
(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.Reducing
(TypeDescription declaringType, List<? extends TypeVariableToken> typeVariableTokens) Creates a new reducing type visitor. -
Uses of TypeVariableToken in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as TypeVariableTokenModifier and TypeFieldDescriptionprivate final TypeVariableToken
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.TypeVariableAnnotationAdapter.token
The currently defined type variable.private final TypeVariableToken
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter.token
The current definition of the type variable.Method parameters in net.bytebuddy.dynamic with type arguments of type TypeVariableTokenModifier 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.Constructors in net.bytebuddy.dynamic with parameters of type TypeVariableTokenModifierConstructorDescriptionprotected
Creates a new type variable annotation adapter.protected
Creates a new type variable definition adapter. -
Uses of TypeVariableToken in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type TypeVariableTokenModifier and TypeFieldDescriptionprivate final List<? extends TypeVariableToken>
InstrumentedType.Default.typeVariables
The instrumented type's type variables in their tokenized form.Methods in net.bytebuddy.dynamic.scaffold with parameters of type TypeVariableTokenModifier and TypeMethodDescriptionInstrumentedType.Default.withTypeVariable
(TypeVariableToken typeVariable) Creates a new instrumented type with the given type variable defined.InstrumentedType.Frozen.withTypeVariable
(TypeVariableToken typeVariable) Creates a new instrumented type with the given type variable defined.InstrumentedType.WithFlexibleName.withTypeVariable
(TypeVariableToken typeVariable) Creates a new instrumented type with the given type variable defined.InstrumentedType.withTypeVariable
(TypeVariableToken typeVariable) Creates a new instrumented type with the given type variable defined.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type TypeVariableTokenModifier and TypeMethodDescriptionInstrumentedType.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.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type TypeVariableTokenModifierConstructorDescriptionprotected
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. -
Uses of TypeVariableToken in net.bytebuddy.dynamic.scaffold.inline
Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type TypeVariableTokenModifier 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.