| Package | Description |
|---|---|
| net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
| net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
| 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.field |
This package contains types and implementations for describing a Java field.
|
| net.bytebuddy.instrumentation.method |
This package contains types and implementations for describing a Java byte code method which can be any byte code
container, i.e.
|
| net.bytebuddy.instrumentation.type |
This package contains types and implementations for describing a Java type, i.e.
|
| 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 | Method and Description |
|---|---|
AnnotationList |
InlineInstrumentedType.getDeclaredAnnotations() |
AnnotationList |
InlineInstrumentedType.getInheritedAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
SubclassInstrumentedType.getDeclaredAnnotations() |
AnnotationList |
SubclassInstrumentedType.getInheritedAnnotations() |
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationList.Empty
Represents an empty annotation list.
|
static class |
AnnotationList.Explicit
Represents a list of explicitly provided annotation descriptions.
|
static class |
AnnotationList.ForLoadedAnnotation
Describes an array of loaded
Annotations as an annotatoon list. |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
AnnotatedElement.getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
AnnotationList |
AnnotationList.inherited(Set<? extends TypeDescription> ignoredTypes)
Returns only annotations that are marked as
Inherited as long as they are not
contained by the set of ignored annotation types. |
AnnotationList |
AnnotationList.ForLoadedAnnotation.inherited(Set<? extends TypeDescription> ignoredTypes) |
AnnotationList |
AnnotationList.Explicit.inherited(Set<? extends TypeDescription> ignoredTypes) |
AnnotationList |
AnnotationList.Empty.inherited(Set<? extends TypeDescription> ignoredTypes) |
protected AnnotationList |
AnnotationList.ForLoadedAnnotation.wrap(List<AnnotationDescription> values) |
protected AnnotationList |
AnnotationList.Explicit.wrap(List<AnnotationDescription> values) |
| Modifier and Type | Method and Description |
|---|---|
static List<AnnotationList> |
AnnotationList.ForLoadedAnnotation.asList(Annotation[][] annotations)
Creates a list of annotation lists representing the given loaded annotations.
|
static List<AnnotationList> |
AnnotationList.Empty.asList(int length)
Creates a list of empty annotation lists of the given dimension.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
FieldDescription.ForLoadedField.getDeclaredAnnotations() |
AnnotationList |
FieldDescription.Latent.getDeclaredAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
MethodLookupEngine.OverridenClassMethod.getDeclaredAnnotations() |
AnnotationList |
MethodLookupEngine.ConflictingInterfaceMethod.getDeclaredAnnotations() |
AnnotationList |
MethodDescription.ForLoadedConstructor.getDeclaredAnnotations() |
AnnotationList |
MethodDescription.ForLoadedMethod.getDeclaredAnnotations() |
AnnotationList |
MethodDescription.Latent.getDeclaredAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationList> |
MethodLookupEngine.OverridenClassMethod.getParameterAnnotations() |
List<AnnotationList> |
MethodLookupEngine.ConflictingInterfaceMethod.getParameterAnnotations() |
List<AnnotationList> |
MethodDescription.getParameterAnnotations()
Returns the parameter annotations of the method described by this instance.
|
List<AnnotationList> |
MethodDescription.ForLoadedConstructor.getParameterAnnotations() |
List<AnnotationList> |
MethodDescription.ForLoadedMethod.getParameterAnnotations() |
List<AnnotationList> |
MethodDescription.Latent.getParameterAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
TypeDescription.ForLoadedType.getDeclaredAnnotations() |
AnnotationList |
TypeDescription.ArrayProjection.getDeclaredAnnotations() |
AnnotationList |
PackageDescription.Simple.getDeclaredAnnotations() |
AnnotationList |
PackageDescription.ForLoadedPackage.getDeclaredAnnotations() |
AnnotationList |
InstrumentedType.AbstractBase.FieldToken.getDeclaredAnnotations() |
AnnotationList |
InstrumentedType.AbstractBase.MethodToken.getDeclaredAnnotations() |
AnnotationList |
TypeDescription.getInheritedAnnotations()
Returns the annotations that this type declares or inherits from super types.
|
AnnotationList |
TypeDescription.AbstractTypeDescription.getInheritedAnnotations() |
AnnotationList |
TypeDescription.ForLoadedType.getInheritedAnnotations() |
AnnotationList |
TypeDescription.ArrayProjection.getInheritedAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationList> |
InstrumentedType.AbstractBase.MethodToken.getParameterAnnotations() |
| Constructor and Description |
|---|
DeclaringAnnotationMatcher(ElementMatcher<? super AnnotationList> annotationMatcher)
Creates a new matcher for the annotations of an annotated element.
|
InheritedAnnotationMatcher(ElementMatcher<? super AnnotationList> annotationMatcher)
Creates a new matcher for the inherited annotations of a type description.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
TypePool.LazyTypeDescription.getDeclaredAnnotations() |
Copyright © 2014. All rights reserved.