| Package | Description |
|---|---|
| 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 | Class and Description |
|---|---|
static class |
AnnotationAppender.ValueFilter.AppendDefaults
A value filter that does not skip any values.
|
static class |
AnnotationAppender.ValueFilter.SkipDefaults
A value filter that skips all annotation values that represent the default value of the annotation.
|
| Constructor and Description |
|---|
Appender(TypeDescription instrumentedType,
AnnotationAppender.ValueFilter valueFilter)
Creates a new appender.
|
Default(AnnotationAppender.Target target,
AnnotationAppender.ValueFilter valueFilter)
Creates a default annotation appender.
|
ForAnnotation(AnnotationAppender.ValueFilter valueFilter,
Annotation... annotation)
Creates a new appender for appending an annotation to a method parameter.
|
ForAnnotation(int parameterIndex,
AnnotationAppender.ValueFilter valueFilter,
Annotation... annotation)
Creates a new appender for appending an annotation to a method parameter.
|
ForAnnotation(int parameterIndex,
List<? extends AnnotationDescription> annotations,
AnnotationAppender.ValueFilter valueFilter)
Creates a new appender for appending an annotation to a method.
|
ForAnnotation(List<? extends AnnotationDescription> annotations,
AnnotationAppender.ValueFilter valueFilter)
Creates a new annotation attribute appender for explicit annotation values.
|
ForAnnotation(List<? extends AnnotationDescription> annotations,
AnnotationAppender.ValueFilter valueFilter)
Creates a new appender for appending an annotation to a method.
|
ForAnnotation(List<? extends AnnotationDescription> annotations,
AnnotationAppender.ValueFilter valueFilter)
Creates a new annotation attribute appender for explicit annotation values.
|
ForField(Field field,
AnnotationAppender.ValueFilter valueFilter)
Creates a new field attribute appender that appends all annotations that are found on a field.
|
ForField(FieldDescription fieldDescription,
AnnotationAppender.ValueFilter valueFilter)
Creates a new field attribute appender that appends all annotations that are found on a field.
|
ForInstrumentedMethod(AnnotationAppender.ValueFilter valueFilter)
Creates a new appender for appending the instrumented method's annotation to the created method.
|
ForInstrumentedType(AnnotationAppender.ValueFilter valueFilter)
Creates an attribute appender that copies the super type's annotations to the instrumented type.
|
ForMethod(Constructor<?> constructor,
AnnotationAppender.ValueFilter valueFilter)
Creates an that copies the annotations of a given constructor to its target.
|
ForMethod(Method method,
AnnotationAppender.ValueFilter valueFilter)
Creates an that copies the annotations of a given method to its target.
|
ForMethod(MethodDescription methodDescription,
AnnotationAppender.ValueFilter valueFilter)
Creates an that copies the annotations of a given method description to its target.
|
ForType(Class<?> type,
AnnotationAppender.ValueFilter valueFilter)
Creates a new attribute appender that writes all annotations declared for the given loaded type.
|
ForType(TypeDescription typeDescription,
AnnotationAppender.ValueFilter valueFilter)
Creates a new attribute appender that writes all annotations declared for the given type description.
|
Copyright © 2014–2015. All rights reserved.