Uses of Interface
net.bytebuddy.dynamic.scaffold.MethodRegistry.Handler
-
Packages that use MethodRegistry.Handler Package Description net.bytebuddy.dynamic 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.net.bytebuddy.dynamic.scaffold 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.Handler Modifier and Type Field Description protected 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.Handler Modifier and Type Method Description protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
private DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
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)
private DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
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.Handler Constructor Description Adapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new adapter for a method definition.AnnotationAdapter(MethodRegistry.Handler handler)
Creates a new annotation adapter.AnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new annotation adapter.AnnotationAdapter(MethodRegistry.Handler handler)
Creates a new annotation adapter.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.Handler Modifier and Type Class Description static class
MethodRegistry.Handler.ForAbstractMethod
A handler for defining an abstract or native method.static class
MethodRegistry.Handler.ForAnnotationValue
A handler for defining a default annotation value for a method.static class
MethodRegistry.Handler.ForImplementation
A handler for a method that is implemented as byte code.static class
MethodRegistry.Handler.ForVisibilityBridge
A handler for implementing a visibility bridge.Fields in net.bytebuddy.dynamic.scaffold declared as MethodRegistry.Handler Modifier and Type Field Description private MethodRegistry.Handler
MethodRegistry.Default.Entry. handler
The handler to apply to all matched entries.private MethodRegistry.Handler
MethodRegistry.Default.Prepared.Entry. handler
The handler for implementing methods.Methods in net.bytebuddy.dynamic.scaffold that return MethodRegistry.Handler Modifier and Type Method Description protected 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.Handler Modifier and Type Method Description MethodRegistry
MethodRegistry. 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
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
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
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.Handler Constructor Description Entry(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new entry.Entry(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, java.util.Set<MethodDescription.TypeToken> typeTokens, Visibility visibility, boolean bridgeMethod)
Creates a new prepared entry.
-