Uses of Class
net.bytebuddy.description.method.MethodDescription.TypeToken
Packages that use MethodDescription.TypeToken
Package
Description
Contains descriptions of Java methods and constructors as well as their parameters.
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.
-
Uses of MethodDescription.TypeToken in net.bytebuddy.description.method
Methods in net.bytebuddy.description.method that return MethodDescription.TypeTokenModifier and TypeMethodDescriptionMethodDescription.AbstractBase.asTypeToken()
Returns a type token that represents this method's raw return and parameter types.MethodDescription.asTypeToken()
Returns a type token that represents this method's raw return and parameter types.MethodDescription.SignatureToken.asTypeToken()
Returns this signature token as a type token.Methods in net.bytebuddy.description.method with parameters of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionboolean
MethodDescription.AbstractBase.isBridgeCompatible
(MethodDescription.TypeToken typeToken) Validates that the supplied type token can implement a bridge method to this method.boolean
MethodDescription.isBridgeCompatible
(MethodDescription.TypeToken typeToken) Validates that the supplied type token can implement a bridge method to this method. -
Uses of MethodDescription.TypeToken in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as MethodDescription.TypeTokenModifier and TypeFieldDescriptionprivate final MethodDescription.TypeToken
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.bridgeType
The bridge's type token.private final MethodDescription.TypeToken
MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token.typeToken
The represented type token.private final MethodDescription.TypeToken
MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token.typeToken
The represented type token.Fields in net.bytebuddy.dynamic.scaffold with type parameters of type MethodDescription.TypeTokenModifier and TypeFieldDescriptionprivate final Set
<MethodDescription.TypeToken> MethodRegistry.Default.Compiled.Entry.bridgeTypes
The type tokens representing all bridge methods for the method.private final Set
<MethodDescription.TypeToken> TypeWriter.MethodPool.Record.AccessBridgeWrapper.bridgeTypes
A collection of all tokens representing all bridge methods.private final LinkedHashMap
<MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>, MethodGraph.Node> MethodGraph.Compiler.Default.Key.Store.Graph.entries
A mapping of a node's type tokens to the represented node.private final Set
<MethodDescription.TypeToken> MethodGraph.Compiler.Default.Key.Detached.identifiers
The type tokens represented by this key.private final Map
<V, Set<MethodDescription.TypeToken>> MethodGraph.Compiler.Default.Key.Harmonized.identifiers
A mapping of identifiers to the type tokens they represent.private final Set
<MethodDescription.TypeToken> MethodRegistry.Default.Prepared.Entry.typeTokens
The method's type tokens.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionprotected Set
<MethodDescription.TypeToken> MethodGraph.Compiler.Default.Key.Detached.getIdentifiers()
MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.Node.getMethodTypes()
Returns a set of type tokens that this method represents.MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node.getMethodTypes()
Returns a set of type tokens that this method represents.MethodGraph.Node.getMethodTypes()
Returns a set of type tokens that this method represents.MethodGraph.Node.Simple.getMethodTypes()
Returns a set of type tokens that this method represents.MethodGraph.Node.Unresolved.getMethodTypes()
Returns a set of type tokens that this method represents.protected Set
<MethodDescription.TypeToken> MethodRegistry.Default.Prepared.Entry.resolveBridgeTypes()
Resolves the type tokens of all bridge methods that are required to be implemented for this entry.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionMethodGraph.Compiler.Default.Key.Harmonized.detach
(MethodDescription.TypeToken typeToken) Creates a detached version of this key.MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.harmonize
(MethodDescription.TypeToken typeToken) Harmonizes the given type token.MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.harmonize
(MethodDescription.TypeToken typeToken) Harmonizes the given type token.MethodGraph.Compiler.Default.Harmonizer.harmonize
(MethodDescription.TypeToken typeToken) Harmonizes the given type token.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionprotected MethodRegistry.Default.Prepared.Entry
MethodRegistry.Default.Entry.asPreparedEntry
(TypeDescription instrumentedType, MethodDescription methodDescription, Set<MethodDescription.TypeToken> methodTypes, Visibility visibility) Transforms this entry into a prepared state.static TypeWriter.MethodPool.Record
TypeWriter.MethodPool.Record.AccessBridgeWrapper.of
(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Wraps the given record in an accessor bridge wrapper if necessary.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.TypeTokenModifierConstructorDescriptionprotected
AccessorBridge
(MethodDescription bridgeTarget, MethodDescription.TypeToken bridgeType, TypeDescription instrumentedType) Creates a new accessor bridge method.protected
Token
(MethodDescription.TypeToken typeToken) Creates a new type token for a Java method.Token
(MethodDescription.TypeToken typeToken) Creates a new type token for a JVM method.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type MethodDescription.TypeTokenModifierConstructorDescriptionprotected
AccessBridgeWrapper
(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Creates a wrapper for adding accessor bridges.protected
Detached
(String internalName, int parameterCount, Set<MethodDescription.TypeToken> identifiers) Creates a new detached key.protected
Entry
(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, Set<MethodDescription.TypeToken> bridgeTypes, Visibility visibility, boolean bridgeMethod) Creates a new entry for a compiled method registry.protected
Entry
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, Set<MethodDescription.TypeToken> typeTokens, Visibility visibility, boolean bridgeMethod) Creates a new prepared entry.protected
Graph
(LinkedHashMap<MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>, MethodGraph.Node> entries) Creates a new graph.protected
Harmonized
(String internalName, int parameterCount, Map<V, Set<MethodDescription.TypeToken>> identifiers) Creates a new harmonized key. -
Uses of MethodDescription.TypeToken in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionRebaseImplementationTarget.RebasedMethodInvocation.withCheckedCompatibilityTo
(MethodDescription.TypeToken token) Checks that this special method invocation is compatible with the supplied type representation. -
Uses of MethodDescription.TypeToken in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation with parameters of type MethodDescription.TypeTokenModifier and TypeMethodDescriptionImplementation.SpecialMethodInvocation.Illegal.withCheckedCompatibilityTo
(MethodDescription.TypeToken token) Checks that this special method invocation is compatible with the supplied type representation.Implementation.SpecialMethodInvocation.Simple.withCheckedCompatibilityTo
(MethodDescription.TypeToken token) Checks that this special method invocation is compatible with the supplied type representation.Implementation.SpecialMethodInvocation.withCheckedCompatibilityTo
(MethodDescription.TypeToken token) Checks that this special method invocation is compatible with the supplied type representation.