AnnotationValue instances.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final AnnotationValues. | |
| private static final Equivalence | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. | |
| private static final AnnotationValues. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Equivalence | equivalence()
Returns an |
| public static AnnotationMirror | |
| public static ImmutableList | |
| public static ImmutableList | |
| public static boolean | |
| public static ImmutableList | |
| public static byte | |
| public static ImmutableList | |
| public static char | |
| public static ImmutableList | |
| public static double | |
| public static ImmutableList | |
| public static VariableElement | |
| public static ImmutableList | |
| public static float | |
| public static ImmutableList | |
| public static int | |
| public static ImmutableList | |
| public static long | |
| public static ImmutableList | |
| public static short | |
| public static ImmutableList | |
| public static String | |
| public static ImmutableList | |
| public static DeclaredType | |
| public static ImmutableList | |
| public static String | toString(AnnotationValue annotationValue)
Returns a string representation of the given annotation value, suitable for inclusion in a Java source file as part of an annotation. |
| private static <T> T |
| ANNOTATION_MIRRORS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| ANNOTATION_VALUE_EQUIVALENCE | back to summary |
|---|---|
| private static final Equivalence<AnnotationValue> ANNOTATION_VALUE_EQUIVALENCE | |
| ANNOTATION_VALUES_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| BOOLEANS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| BYTES_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| CHARS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| DOUBLES_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| ENUMS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| FLOATS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| INTS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| LONGS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| SHORTS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| STRINGS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| TYPE_MIRRORS_VISITOR | back to summary |
|---|---|
| private static final AnnotationValues. | |
| AnnotationValues | back to summary |
|---|---|
| private AnnotationValues() | |
| equivalence | back to summary |
|---|---|
| public static Equivalence Returns an
| |
| getAnnotationMirror | back to summary |
|---|---|
| public static AnnotationMirror getAnnotationMirror(AnnotationValue value) Returns the value as an AnnotationMirror.
| |
| getAnnotationMirrors | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of annotations.
| |
| getAnnotationValues | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of
| |
| getBoolean | back to summary |
|---|---|
| public static boolean getBoolean(AnnotationValue value) Returns the value as a boolean.
| |
| getBooleans | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of booleans.
| |
| getByte | back to summary |
|---|---|
| public static byte getByte(AnnotationValue value) Returns the value as a byte.
| |
| getBytes | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of bytes.
| |
| getChar | back to summary |
|---|---|
| public static char getChar(AnnotationValue value) Returns the value as a char.
| |
| getChars | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of characters.
| |
| getDouble | back to summary |
|---|---|
| public static double getDouble(AnnotationValue value) Returns the value as a double.
| |
| getDoubles | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of doubles.
| |
| getEnum | back to summary |
|---|---|
| public static VariableElement getEnum(AnnotationValue value) Returns the value as a VariableElement.
| |
| getEnums | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of enums.
| |
| getFloat | back to summary |
|---|---|
| public static float getFloat(AnnotationValue value) Returns the value as a float.
| |
| getFloats | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of floats.
| |
| getInt | back to summary |
|---|---|
| public static int getInt(AnnotationValue value) Returns the value as an int.
| |
| getInts | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of integers.
| |
| getLong | back to summary |
|---|---|
| public static long getLong(AnnotationValue value) Returns the value as a long.
| |
| getLongs | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of longs.
| |
| getShort | back to summary |
|---|---|
| public static short getShort(AnnotationValue value) Returns the value as a short.
| |
| getShorts | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of shorts.
| |
| getString | back to summary |
|---|---|
| public static String getString(AnnotationValue value) Returns the value as a string.
| |
| getStrings | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of strings.
| |
| getTypeMirror | back to summary |
|---|---|
| public static DeclaredType getTypeMirror(AnnotationValue value) Returns the value as a class.
| |
| getTypeMirrors | back to summary |
|---|---|
| public static ImmutableList Returns the value as a list of classes.
| |
| toString | back to summary |
|---|---|
| public static String toString(AnnotationValue annotationValue) Returns a string representation of the given annotation value, suitable for inclusion in a Java
source file as part of an annotation. For example, if For all annotation values other than nested annotations, the returned string can also be used to initialize a variable of the appropriate type. Fully qualified names are used for types in annotations, class literals, and enum constants, ensuring that the source form will compile without requiring additional imports. | |
| valueOfType | back to summary |
|---|---|
| private static <T> T valueOfType(AnnotationValue annotationValue, Class<T> type) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AnnotationValues. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationMirror | visitAnnotation(AnnotationMirror
the value being visited value, Void a visitor-specified parameter unused)Overrides javax. Implements javax. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final AnnotationValues. | |
| AnnotationMirrorVisitor | back to summary |
|---|---|
| pack-priv AnnotationMirrorVisitor() | |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationMirror visitAnnotation(AnnotationMirror value, Void unused) Overrides javax. Implements javax. Doc from javax. Visits an annotation value in an annotation.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ImmutableList | defaultAction(Object
the value of the annotation o, Void a visitor-specified parameter unused)Overrides javax. |
| public ImmutableList | visitArray(List<? extends AnnotationValue>
the value being visited values, Void a visitor-specified parameter unused)Overrides javax. Implements javax. |
| visitT | back to summary |
|---|---|
| pack-priv final Function<AnnotationValue, T> visitT | |
| ArrayVisitor | back to summary |
|---|---|
| pack-priv ArrayVisitor(Function<AnnotationValue, T> visitT) | |
| defaultAction | back to summary |
|---|---|
| public ImmutableList Overrides javax. Doc from javax. The default action for visit methods.
| |
| visitArray | back to summary |
|---|---|
| public ImmutableList Overrides javax. Implements javax. Doc from javax. Visits an array value in an annotation.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | defaultAction(Object
the value of the annotation o, Void a visitor-specified parameter unused)Overrides javax. |
| clazz | back to summary |
|---|---|
| pack-priv final Class<T> clazz | |
| DefaultVisitor | back to summary |
|---|---|
| pack-priv DefaultVisitor(Class<T> clazz) | |
| defaultAction | back to summary |
|---|---|
| public T defaultAction(Object o, Void unused) Overrides javax. Doc from javax. The default action for visit methods. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AnnotationValues. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VariableElement | visitEnumConstant(VariableElement
the value being visited value, Void a visitor-specified parameter unused)Overrides javax. Implements javax. enum value in an annotation.
|
| INSTANCE | back to summary |
|---|---|
| pack-priv static final AnnotationValues. | |
| EnumVisitor | back to summary |
|---|---|
| pack-priv EnumVisitor() | |
| visitEnumConstant | back to summary |
|---|---|
| public VariableElement visitEnumConstant(VariableElement value, Void unused) Overrides javax. Implements javax. Doc from javax. Visits an
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AnnotationValues. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public DeclaredType | visitType(TypeMirror
the value being visited value, Void a visitor-specified parameter unused)Overrides javax. Implements javax. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final AnnotationValues. | |
| TypeMirrorVisitor | back to summary |
|---|---|
| pack-priv TypeMirrorVisitor() | |
| visitType | back to summary |
|---|---|
| public DeclaredType visitType(TypeMirror value, Void unused) Overrides javax. Implements javax. Doc from javax. Visits a type value in an annotation.
| |