| Package | Description |
|---|---|
| net.bytebuddy.instrumentation.attribute.annotation |
Types and classes in this package are responsible for writing Java annotations to a Java type, field or byte code
method.
|
| net.bytebuddy.instrumentation.method.bytecode.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
| net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AnnotationDescription.Loadable<S extends Annotation>
An annotation description that is linked to a given loaded annotation type which allows its representation
as a fully loaded instance.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationDescription.AbstractAnnotationDescription
An adapter implementaton of an annotation.
|
static class |
AnnotationDescription.AbstractAnnotationDescription.ForPrepared<S extends Annotation>
An abstract implementation of a loadable annotation description.
|
static class |
AnnotationDescription.ForLoadedAnnotation<S extends Annotation>
A description of an already loaded annotation.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationDescription |
AnnotationList.ForLoadedAnnotation.get(int index) |
AnnotationDescription |
AnnotationList.Explicit.get(int index) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationAppender |
AnnotationAppender.append(AnnotationDescription annotation,
AnnotationAppender.AnnotationVisibility annotationVisibility)
Terminally writes the given annotation to the specified target.
|
AnnotationAppender |
AnnotationAppender.Default.append(AnnotationDescription annotation,
AnnotationAppender.AnnotationVisibility annotationVisibility) |
static AnnotationAppender.AnnotationVisibility |
AnnotationAppender.AnnotationVisibility.of(AnnotationDescription annotation)
Finds the annotation visibility that is declared for a given annotation.
|
| Modifier and Type | Method and Description |
|---|---|
static List<AnnotationList> |
AnnotationList.Explicit.asList(List<? extends List<? extends AnnotationDescription>> annotations)
Creates a list of annotation lists for a given multidimensional list of annotation descriptions.
|
protected AnnotationList |
AnnotationList.ForLoadedAnnotation.wrap(List<AnnotationDescription> values) |
protected AnnotationList |
AnnotationList.Explicit.wrap(List<AnnotationDescription> values) |
| Constructor and Description |
|---|
Explicit(List<? extends AnnotationDescription> annotationDescriptions)
Creates a new list of annotation descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationDescription |
Argument.NextUnboundAsDefaultsProvider.NextUnboundArgumentIterator.next() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<AnnotationDescription> |
TargetMethodAnnotationDrivenBinder.DefaultsProvider.makeIterator(Instrumentation.Target instrumentationTarget,
MethodDescription source,
MethodDescription target)
Creates an iterator from which a value is pulled each time no processable annotation is found on a
method parameter.
|
Iterator<AnnotationDescription> |
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty.makeIterator(Instrumentation.Target instrumentationTarget,
MethodDescription source,
MethodDescription target) |
Iterator<AnnotationDescription> |
Argument.NextUnboundAsDefaultsProvider.makeIterator(Instrumentation.Target instrumentationTarget,
MethodDescription source,
MethodDescription target) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationTypeMatcher<T extends AnnotationDescription>
An element matcher that matches the type of an annotation description.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends AnnotationDescription> |
ElementMatchers.anyOf(Annotation... value)
Creates a matcher that matches any of the given annotations as
AnnotationDescriptions
by the Object.equals(Object) method. |
static <T extends AnnotationDescription> |
ElementMatchers.is(Annotation annotation)
Exactly matches a given annotation as an
AnnotationDescription. |
static <T extends AnnotationDescription> |
ElementMatchers.is(AnnotationDescription annotationDescription)
Exactly matches a given
AnnotationDescription. |
static <T extends AnnotationDescription> |
ElementMatchers.noneOf(Annotation... value)
Creates a matcher that matches none of the given annotations as
AnnotationDescriptions
by the Object.equals(Object) method. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AnnotationDescription> |
ElementMatchers.is(AnnotationDescription annotationDescription)
Exactly matches a given
AnnotationDescription. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AnnotatedElement> |
ElementMatchers.declaresAnnotation(ElementMatcher<? super AnnotationDescription> matcher)
Matches an
AnnotatedElement to declare any annotation
that matches the given matcher. |
static <T extends TypeDescription> |
ElementMatchers.hasAnnotation(ElementMatcher<? super AnnotationDescription> matcher)
Matches a list of annotations by a given matcher on a type that declared these annotations or inherited them
from its super classes.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationDescription |
TypePool.LazyTypeDescription.AnnotationValue.ForAnnotation.resolve(TypePool typePool) |
Copyright © 2014–2015. All rights reserved.