Uses of Interface
net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler
Packages that use MethodRegistry.Handler
Package
Description
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.
-
Uses of MethodRegistry.Handler in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodRegistry.HandlerModifier and TypeFieldDescriptionprotected final MethodRegistry.Handler
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.handler
The handler that determines how a method is implemented.Methods in net.bytebuddy.dynamic with parameters of type MethodRegistry.HandlerModifier and TypeMethodDescriptionprotected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.materialize
(MethodRegistry.Handler handler) Materializes the given handler as the implementation.protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.materialize
(MethodRegistry.Handler handler) Materializes the method definition with the supplied handler.protected abstract DynamicType.Builder.MethodDefinition<V>
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Materializes the current builder as a method definition.Constructors in net.bytebuddy.dynamic with parameters of type MethodRegistry.HandlerModifierConstructorDescriptionprotected
Adapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new adapter for a method definition.protected
AnnotationAdapter
(MethodRegistry.Handler handler) Creates a new annotation adapter.protected
AnnotationAdapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter.protected
AnnotationAdapter
(MethodRegistry.Handler handler) Creates a new annotation adapter.protected
AnnotationAdapter
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter. -
Uses of MethodRegistry.Handler in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement MethodRegistry.HandlerModifier and TypeClassDescriptionstatic enum
A handler for defining an abstract or native method.static class
A handler for defining a default annotation value for a method.static class
A handler for a method that is implemented as byte code.static enum
A handler for implementing a visibility bridge.Fields in net.bytebuddy.dynamic.scaffold declared as MethodRegistry.HandlerModifier and TypeFieldDescriptionprivate final MethodRegistry.Handler
MethodRegistry.Default.Entry.handler
The handler to apply to all matched entries.private final MethodRegistry.Handler
MethodRegistry.Default.Prepared.Entry.handler
The handler for implementing methods.Methods in net.bytebuddy.dynamic.scaffold that return MethodRegistry.HandlerModifier and TypeMethodDescriptionprotected MethodRegistry.Handler
MethodRegistry.Default.Entry.getHandler()
Returns this entry's handler.protected MethodRegistry.Handler
MethodRegistry.Default.Prepared.Entry.getHandler()
Returns this entry's handler.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodRegistry.HandlerModifier and TypeMethodDescriptionMethodRegistry.append
(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.append
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.prepend
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.MethodRegistry.prepend
(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodRegistry.HandlerModifierConstructorDescriptionprotected
Entry
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new entry.protected
Entry
(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, Set<MethodDescription.TypeToken> typeTokens, Visibility visibility, boolean bridgeMethod) Creates a new prepared entry.