Uses of Interface
net.bytebuddy.implementation.attribute.MethodAttributeAppender.Factory
-
Packages that use MethodAttributeAppender.Factory Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.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.net.bytebuddy.dynamic.scaffold.subclass All classes and types in this package are related to creating aDynamicType
by creating a subclass of a given type.net.bytebuddy.implementation.attribute All types and classes in this package are responsible for writing attributes for a given Java byte code element, i.e. -
-
Uses of MethodAttributeAppender.Factory in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type MethodAttributeAppender.Factory Modifier and Type Method Description MemberAttributeExtension.ForMethod
MemberAttributeExtension.ForMethod. attribute(MethodAttributeAppender.Factory attributeAppenderFactory)
Appends the supplied method attribute appender factory.Constructors in net.bytebuddy.asm with parameters of type MethodAttributeAppender.Factory Constructor Description ForMethod(AnnotationValueFilter.Factory annotationValueFilterFactory, MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a method attribute extension. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodAttributeAppender.Factory Modifier and Type Field Description protected MethodAttributeAppender.Factory
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter. methodAttributeAppenderFactory
The method attribute appender factory to apply onto the method that is currently being implemented.Methods in net.bytebuddy.dynamic with parameters of type MethodAttributeAppender.Factory Modifier and Type Method Description DynamicType.Builder.MethodDefinition<V>
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter. attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Applies the supplied method attribute appender factory onto the previously defined or matched method.DynamicType.Builder.MethodDefinition<S>
DynamicType.Builder.MethodDefinition. attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Applies the supplied method attribute appender factory onto the previously defined or matched method.protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
protected DynamicType.Builder.MethodDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
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 MethodAttributeAppender.Factory Constructor Description Adapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new adapter for a method definition.AnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new annotation adapter.AnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new annotation adapter. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as MethodAttributeAppender.Factory Modifier and Type Field Description private MethodAttributeAppender.Factory
MethodRegistry.Default.Entry. attributeAppenderFactory
A method attribute appender factory to apply to all entries.private MethodAttributeAppender.Factory
MethodRegistry.Default.Prepared.Entry. attributeAppenderFactory
A attribute appender factory for appending attributes for any implemented method.Methods in net.bytebuddy.dynamic.scaffold that return MethodAttributeAppender.Factory Modifier and Type Method Description protected MethodAttributeAppender.Factory
MethodRegistry.Default.Prepared.Entry. getAppenderFactory()
Returns this entry's attribute appender factory.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodAttributeAppender.Factory 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 MethodAttributeAppender.Factory 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. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.dynamic.scaffold.subclass
Fields in net.bytebuddy.dynamic.scaffold.subclass declared as MethodAttributeAppender.Factory Modifier and Type Field Description private MethodAttributeAppender.Factory
ConstructorStrategy.Default.WithMethodAttributeAppenderFactory. methodAttributeAppenderFactory
The method attribute appender factory to apply.private MethodAttributeAppender.Factory
ConstructorStrategy.ForDefaultConstructor. methodAttributeAppenderFactory
The method attribute appender factory to apply.Methods in net.bytebuddy.dynamic.scaffold.subclass with parameters of type MethodAttributeAppender.Factory Modifier and Type Method Description protected abstract MethodRegistry
ConstructorStrategy.Default. doInject(MethodRegistry methodRegistry, MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Applies the actual injection with a method attribute appender factory supplied.ConstructorStrategy
ConstructorStrategy.Default. with(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Returns a constructor strategy that supplies the supplied method attribute appender factory.Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type MethodAttributeAppender.Factory Constructor Description ForDefaultConstructor(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Creates a constructor strategy for invoking a super constructor with default arguments.ForDefaultConstructor(ElementMatcher<? super MethodDescription> elementMatcher, MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Creates a constructor strategy for invoking a super constructor with default arguments.WithMethodAttributeAppenderFactory(ConstructorStrategy.Default delegate, MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Creates a new wrapper for a default constructor strategy. -
Uses of MethodAttributeAppender.Factory in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement MethodAttributeAppender.Factory Modifier and Type Class Description static class
MethodAttributeAppender.Explicit
Appends an annotation to a method or method parameter.static class
MethodAttributeAppender.Factory.Compound
A method attribute appender factory that combines several method attribute appender factories to be represented as a single factory.static class
MethodAttributeAppender.ForInstrumentedMethod
Implementation of a method attribute appender that writes all annotations of the instrumented method to the method that is being created.static class
MethodAttributeAppender.ForReceiverType
A method attribute appender that writes a receiver type.static class
MethodAttributeAppender.NoOp
A method attribute appender that does not append any attributes.Fields in net.bytebuddy.implementation.attribute with type parameters of type MethodAttributeAppender.Factory Modifier and Type Field Description private java.util.List<MethodAttributeAppender.Factory>
MethodAttributeAppender.Factory.Compound. factories
The factories this compound factory represents in their application order.Methods in net.bytebuddy.implementation.attribute that return MethodAttributeAppender.Factory Modifier and Type Method Description static MethodAttributeAppender.Factory
MethodAttributeAppender.Explicit. of(MethodDescription methodDescription)
Creates a method attribute appender factory that writes all annotations of a given method, both the method annotations themselves and all annotations that are defined for every parameter.static MethodAttributeAppender.Factory
MethodAttributeAppender.Explicit. ofMethodAnnotations(MethodDescription methodDescription)
Creates a method attribute appender factory that writes all method annotations that are defined on the given method.static MethodAttributeAppender.Factory
MethodAttributeAppender.Explicit. ofParameterAnnotations(MethodDescription methodDescription)
Creates a method attribute appender factory that writes all annotations that are defined for every parameter of the given method.Constructors in net.bytebuddy.implementation.attribute with parameters of type MethodAttributeAppender.Factory Constructor Description Compound(MethodAttributeAppender.Factory... factory)
Creates a new compound method attribute appender factory.Constructor parameters in net.bytebuddy.implementation.attribute with type arguments of type MethodAttributeAppender.Factory Constructor Description Compound(java.util.List<? extends MethodAttributeAppender.Factory> factories)
Creates a new compound method attribute appender factory.
-