| 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. 
 | 
| 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. 
 | 
| Modifier and Type | Field and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
DynamicType.Builder.MethodDefinition<V> | 
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)  | 
protected abstract DynamicType.Builder.MethodDefinition<V> | 
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           MethodTransformer methodTransformer)
Materializes the current builder as a method definition. 
 | 
protected DynamicType.Builder.MethodDefinition<U> | 
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           MethodTransformer methodTransformer)  | 
protected DynamicType.Builder.MethodDefinition<U> | 
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           MethodTransformer methodTransformer)  | 
| Constructor and Description | 
|---|
Adapter(MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory methodAttributeAppenderFactory,
       MethodTransformer methodTransformer)
Creates a new adapter for a method definition. 
 | 
AnnotationAdapter(MethodRegistry.Handler handler,
                 MethodAttributeAppender.Factory methodAttributeAppenderFactory,
                 MethodTransformer methodTransformer)
Creates a new annotation adapter. 
 | 
AnnotationAdapter(MethodRegistry.Handler handler,
                 MethodAttributeAppender.Factory methodAttributeAppenderFactory,
                 MethodTransformer methodTransformer)
Creates a new annotation adapter. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected MethodAttributeAppender.Factory | 
MethodRegistry.Default.Prepared.Entry.getAppenderFactory()
Returns this entry's attribute appender factory. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodRegistry | 
MethodRegistry.append(LatentMatcher<? super MethodDescription> methodMatcher,
      MethodRegistry.Handler handler,
      MethodAttributeAppender.Factory attributeAppenderFactory,
      MethodTransformer methodTransformer)
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,
      MethodTransformer methodTransformer)  | 
MethodRegistry | 
MethodRegistry.prepend(LatentMatcher<? super MethodDescription> methodMatcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       MethodTransformer methodTransformer)
Prepends the given method definition to this method registry, i.e. 
 | 
MethodRegistry | 
MethodRegistry.Default.prepend(LatentMatcher<? super MethodDescription> matcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       MethodTransformer methodTransformer)  | 
| Constructor and Description | 
|---|
Entry(LatentMatcher<? super MethodDescription> matcher,
     MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     MethodTransformer methodTransformer)
Creates a new entry. 
 | 
Entry(MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     MethodDescription methodDescription,
     Set<MethodDescription.TypeToken> typeTokens)
Creates a new prepared entry. 
 | 
| Modifier and Type | Class and 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. 
 | 
| Modifier and Type | Method and 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. 
 | 
| Constructor and Description | 
|---|
Compound(MethodAttributeAppender.Factory... factory)
Creates a new compound method attribute appender factory. 
 | 
| Constructor and Description | 
|---|
Compound(List<? extends MethodAttributeAppender.Factory> factories)
Creates a new compound method attribute appender factory. 
 | 
Copyright © 2014–2016. All rights reserved.