T
- The annotation typepublic class AnnotationValueBuilder<T extends java.lang.annotation.Annotation>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AnnotationValue<T> |
build()
Build the actual
AnnotationValue . |
AnnotationValueBuilder<T> |
member(java.lang.String name,
AnnotationClassValue<?>... classValues)
Sets the value member to the given annotation class values.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
AnnotationValue<?>... annotations)
Sets the value member to the given annotation values.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
AnnotationValue<?> annotation)
Sets the value member to the given annotation value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
boolean bool)
Sets the value member to the given boolean value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.Class<?>... types)
Sets the value member to the given type objects.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.Class<?> type)
Sets the value member to the given type object.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.Enum<?>... enumObjs)
Sets the value member to the given enum objects.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.Enum<?> enumObj)
Sets the value member to the given enum object.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
int... ints)
Sets the value member to the given integer[] value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
int i)
Sets the value member to the given integer value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
long... longs)
Sets the value member to the given long[] value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
long i)
Sets the value member to the given long value.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.String... strings)
Sets the value member to the given String[] values.
|
AnnotationValueBuilder<T> |
member(java.lang.String name,
java.lang.String str)
Sets the value member to the given string value.
|
AnnotationValueBuilder<T> |
value(AnnotationValue<?> annotation)
Sets the value member to the given annotation value.
|
AnnotationValueBuilder<T> |
value(boolean bool)
Sets the value member to the given boolean value.
|
AnnotationValueBuilder<T> |
value(java.lang.Class<?> type)
Sets the value member to the given type object.
|
AnnotationValueBuilder<T> |
value(java.lang.Enum<?> enumObj)
Sets the value member to the given enum object.
|
AnnotationValueBuilder<T> |
value(int i)
Sets the value member to the given integer value.
|
AnnotationValueBuilder<T> |
value(long i)
Sets the value member to the given long value.
|
AnnotationValueBuilder<T> |
value(java.lang.String str)
Sets the value member to the given string value.
|
AnnotationValueBuilder<T> |
values(AnnotationClassValue<?>... types)
Sets the value member to the given type objects.
|
AnnotationValueBuilder<T> |
values(AnnotationValue<?>... annotations)
Sets the value member to the given annotation values.
|
AnnotationValueBuilder<T> |
values(java.lang.Class<?>... types)
Sets the value member to the given type objects.
|
AnnotationValueBuilder<T> |
values(java.lang.Enum<?>... enumObjs)
Sets the value member to the given enum objects.
|
AnnotationValueBuilder<T> |
values(int... ints)
Sets the value member to the given integer[] value.
|
AnnotationValueBuilder<T> |
values(long... longs)
Sets the value member to the given long[] value.
|
AnnotationValueBuilder<T> |
values(java.lang.String... strings)
Sets the value member to the given String[] values.
|
@NonNull public AnnotationValue<T> build()
AnnotationValue
.AnnotationValue
public AnnotationValueBuilder<T> value(int i)
i
- The integerpublic AnnotationValueBuilder<T> values(int... ints)
ints
- The integer[]public AnnotationValueBuilder<T> value(long i)
i
- The longpublic AnnotationValueBuilder<T> values(long... longs)
longs
- The long[]public AnnotationValueBuilder<T> value(@Nullable java.lang.String str)
str
- The stringpublic AnnotationValueBuilder<T> values(@Nullable java.lang.String... strings)
strings
- The String[]public AnnotationValueBuilder<T> value(boolean bool)
bool
- The booleanpublic AnnotationValueBuilder<T> value(@Nullable java.lang.Enum<?> enumObj)
enumObj
- The enumpublic AnnotationValueBuilder<T> values(@Nullable java.lang.Enum<?>... enumObjs)
enumObjs
- The enum[]public AnnotationValueBuilder<T> value(@Nullable java.lang.Class<?> type)
type
- The typepublic AnnotationValueBuilder<T> values(@Nullable java.lang.Class<?>... types)
types
- The type[]public AnnotationValueBuilder<T> values(@Nullable AnnotationClassValue<?>... types)
types
- The type[]public AnnotationValueBuilder<T> value(@Nullable AnnotationValue<?> annotation)
annotation
- The annotationpublic AnnotationValueBuilder<T> values(@Nullable AnnotationValue<?>... annotations)
annotations
- The annotation[]public AnnotationValueBuilder<T> member(java.lang.String name, int i)
name
- The name of the memberi
- The integerpublic AnnotationValueBuilder<T> member(java.lang.String name, int... ints)
name
- The name of the memberints
- The integer[]public AnnotationValueBuilder<T> member(java.lang.String name, long i)
name
- The name of the memberi
- The longpublic AnnotationValueBuilder<T> member(java.lang.String name, long... longs)
name
- The name of the memberlongs
- The long[]public AnnotationValueBuilder<T> member(java.lang.String name, java.lang.String str)
name
- The name of the memberstr
- The stringpublic AnnotationValueBuilder<T> member(java.lang.String name, java.lang.String... strings)
name
- The name of the memberstrings
- The String[]public AnnotationValueBuilder<T> member(java.lang.String name, boolean bool)
name
- The name of the memberbool
- The booleanpublic AnnotationValueBuilder<T> member(java.lang.String name, @Nullable java.lang.Enum<?> enumObj)
name
- The name of the memberenumObj
- The enumpublic AnnotationValueBuilder<T> member(java.lang.String name, @Nullable java.lang.Enum<?>... enumObjs)
name
- The name of the memberenumObjs
- The enum[]public AnnotationValueBuilder<T> member(java.lang.String name, @Nullable java.lang.Class<?> type)
name
- The name of the membertype
- The typepublic AnnotationValueBuilder<T> member(java.lang.String name, @Nullable java.lang.Class<?>... types)
name
- The name of the membertypes
- The type[]public AnnotationValueBuilder<T> member(java.lang.String name, @Nullable AnnotationValue<?> annotation)
name
- The name of the memberannotation
- The annotationpublic AnnotationValueBuilder<T> member(java.lang.String name, @Nullable AnnotationValue<?>... annotations)
name
- The name of the memberannotations
- The annotation[]public AnnotationValueBuilder<T> member(java.lang.String name, @Nullable AnnotationClassValue<?>... classValues)
name
- The name of the memberclassValues
- The annotation[]