Uses of Class
net.bytebuddy.description.method.MethodDescription.Token
Packages that use MethodDescription.Token
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
Contains descriptions of Java methods and constructors as well as their parameters.
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
creating a subclass of a given type.Contains an API for matching Java byte code entities.
-
Uses of MethodDescription.Token in net.bytebuddy
Methods in net.bytebuddy that return types with arguments of type MethodDescription.TokenModifier and TypeMethodDescriptionByteBuddy.RecordConstructorStrategy.extractConstructors
(TypeDescription instrumentedType) Extracts constructors for a given super type. -
Uses of MethodDescription.Token in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method with type parameters of type MethodDescription.TokenModifier and TypeFieldDescriptionprivate final List<? extends MethodDescription.Token>
MethodList.ForTokens.tokens
The list of method tokens to represent.Methods in net.bytebuddy.description.method that return MethodDescription.TokenModifier 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.MethodDescription.AbstractBase.asToken
(ElementMatcher<? super TypeDescription> matcher) Returns a token representative of this type dependant.Methods in net.bytebuddy.description.method that return types with arguments of type MethodDescription.TokenModifier and TypeMethodDescriptionMethodList.AbstractBase.asTokenList
(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.MethodList.asTokenList
(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.MethodList.Empty.asTokenList
(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.Constructors in net.bytebuddy.description.method with parameters of type MethodDescription.TokenModifierConstructorDescriptionForTokens
(TypeDescription declaringType, MethodDescription.Token... token) Creates a new list of method descriptions for a list of detached tokens.Latent
(TypeDescription declaringType, MethodDescription.Token token) Creates a new latent method description.Constructor parameters in net.bytebuddy.description.method with type arguments of type MethodDescription.TokenModifierConstructorDescriptionForTokens
(TypeDescription declaringType, List<? extends MethodDescription.Token> tokens) Creates a new list of method descriptions for a list of detached tokens. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodDescription.TokenModifier and TypeFieldDescriptionprivate final MethodDescription.Token
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.token
A token representing the currently defined method.private final MethodDescription.Token
Transformer.ForMethod.TransformedMethod.token
The method representing the transformed method.Fields in net.bytebuddy.dynamic with type parameters of type MethodDescription.TokenModifier and TypeFieldDescriptionprivate final Transformer<MethodDescription.Token>
Transformer.ForMethod.transformer
The transformer to be applied.Methods in net.bytebuddy.dynamic that return MethodDescription.TokenModifier and TypeMethodDescriptionTransformer.ForMethod.MethodModifierTransformer.transform
(TypeDescription instrumentedType, MethodDescription.Token target) Transforms the supplied target.Methods in net.bytebuddy.dynamic with parameters of type MethodDescription.TokenModifier and TypeMethodDescriptionTransformer.ForMethod.MethodModifierTransformer.transform
(TypeDescription instrumentedType, MethodDescription.Token target) Transforms the supplied target.Constructors in net.bytebuddy.dynamic with parameters of type MethodDescription.TokenModifierConstructorDescriptionprotected
Creates a new method definition adapter.protected
TransformedMethod
(TypeDescription instrumentedType, TypeDefinition declaringType, MethodDescription.Token token, MethodDescription.InDefinedShape methodDescription) Creates a new transformed method.Constructor parameters in net.bytebuddy.dynamic with type arguments of type MethodDescription.TokenModifierConstructorDescriptionForMethod
(Transformer<MethodDescription.Token> transformer) Creates a new transforming method transformer. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type MethodDescription.TokenModifier and TypeFieldDescriptionprivate final List<? extends MethodDescription.Token>
InstrumentedType.Default.methodTokens
A list of method tokens describing the methods of the instrumented type.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.TokenModifier and TypeMethodDescriptionInstrumentedType.Default.withMethod
(MethodDescription.Token token) Creates a new instrumented type that includes a new method or constructor.InstrumentedType.Frozen.withMethod
(MethodDescription.Token token) Creates a new instrumented type that includes a new method or constructor.InstrumentedType.WithFlexibleName.withMethod
(MethodDescription.Token token) Creates a new instrumented type that includes a new method or constructor.InstrumentedType.withMethod
(MethodDescription.Token token) Creates a new instrumented type that includes a new method or constructor. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic.scaffold.subclass
Methods in net.bytebuddy.dynamic.scaffold.subclass that return types with arguments of type MethodDescription.TokenModifier and TypeMethodDescriptionprotected abstract List<MethodDescription.Token>
ConstructorStrategy.Default.doExtractConstructors
(TypeDescription instrumentedType) Extracts the relevant method tokens of the instrumented type's constructors.ConstructorStrategy.Default.extractConstructors
(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.Default.WithMethodAttributeAppenderFactory.extractConstructors
(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.extractConstructors
(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.ForDefaultConstructor.extractConstructors
(TypeDescription instrumentedType) Extracts constructors for a given super type. -
Uses of MethodDescription.Token in net.bytebuddy.matcher
Fields in net.bytebuddy.matcher declared as MethodDescription.TokenModifier and TypeFieldDescriptionprivate final MethodDescription.Token
LatentMatcher.ForMethodToken.token
A token representing the method being matched.Constructors in net.bytebuddy.matcher with parameters of type MethodDescription.TokenModifierConstructorDescriptionCreates a new latent matcher for a method token.