Package | Description |
---|---|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.description.enumeration |
A package that contains classes for describing enumeration values.
|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.bytecode.member |
StackManipulation s of this package are responsible for
accessing type or method members, i.e. reading and writing of fields, invoking of methods, access of local variables
within a method invocation or returning values from method invocations. |
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Method and Description |
---|---|
EnumerationDescription |
AnnotationDescription.AnnotationValue.ForEnumeration.resolve() |
Modifier and Type | Method and Description |
---|---|
static <V extends Enum<V>> |
AnnotationDescription.AnnotationValue.ForEnumeration.of(EnumerationDescription value)
Creates a new annotation value for the given enumeration description.
|
Modifier and Type | Method and Description |
---|---|
AnnotationDescription.Builder |
AnnotationDescription.Builder.define(String property,
EnumerationDescription value)
Returns a builder with the additional enumeration property.
|
AnnotationDescription.Builder |
AnnotationDescription.Builder.defineEnumerationArray(String property,
TypeDescription enumerationType,
EnumerationDescription... value)
Returns a builder with the additional enumeration array property.
|
static <V extends Enum<V>> |
AnnotationDescription.AnnotationValue.ForEnumeration.of(EnumerationDescription value)
Creates a new annotation value for the given enumeration description.
|
static <W extends Enum<W>> |
AnnotationDescription.AnnotationValue.ForComplexArray.of(TypeDescription enumerationType,
EnumerationDescription[] enumerationDescription)
Creates a new complex array of enumeration descriptions.
|
Constructor and Description |
---|
ForEnumeration(EnumerationDescription enumerationDescription)
Creates a new description of an annotation value for a given enumeration.
|
Modifier and Type | Class and Description |
---|---|
static class |
EnumerationDescription.AbstractBase
An adapter implementation of an enumeration description.
|
static class |
EnumerationDescription.ForLoadedEnumeration
An enumeration description representing a loaded enumeration.
|
static class |
EnumerationDescription.Latent
A latent description of an enumeration value.
|
Modifier and Type | Method and Description |
---|---|
static List<EnumerationDescription> |
EnumerationDescription.ForLoadedEnumeration.asList(Enum<?>[] enumerations)
Enlists a given array of loaded enumerations as enumeration values.
|
Modifier and Type | Method and Description |
---|---|
MethodCall |
MethodCall.with(EnumerationDescription... enumerationDescription)
Defines the given enumeration values to be provided as arguments to the invoked method where the values
are read from the enumeration class on demand.
|
InvokeDynamic |
InvokeDynamic.withEnumeration(EnumerationDescription... enumerationDescription)
Hands the provided enumerations to the dynamically bound method.
|
Constructor and Description |
---|
ForEnumerationValue(EnumerationDescription enumerationDescription)
Creates a new argument loader for an enumeration constant.
|
ForEnumerationValue(EnumerationDescription enumerationDescription)
Creates a new argument provider for an enumeration value.
|
Modifier and Type | Method and Description |
---|---|
static StackManipulation |
FieldAccess.forEnumeration(EnumerationDescription enumerationDescription)
Creates an accessor to read an enumeration value.
|
Modifier and Type | Class and Description |
---|---|
protected class |
TypePool.AbstractBase.RawEnumerationValue.LazyEnumerationDescription
An enumeration description where any type references are only resolved on demand.
|
Modifier and Type | Method and Description |
---|---|
EnumerationDescription |
TypePool.AbstractBase.RawEnumerationValue.resolve() |
Copyright © 2014–2016. All rights reserved.