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