| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private abstract static class | AnnotationOutput.
Visitor that produces a string representation of an annotation value, suitable for inclusion in a Java source file as an annotation member or as the initializer of a variable of the appropriate type. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static StringBuilder | |
| private static StringBuilder | |
| private static boolean | |
| pack-priv static String | sourceFormForAnnotation(javax.
Returns a string representation of the given annotation mirror, suitable for inclusion in a Java source file to reproduce the annotation in source form. |
| pack-priv static String | sourceFormForInitializer(javax.
Returns a string representation of the given annotation value, suitable for inclusion in a Java source file as the initializer of a variable of the appropriate type. |
| private static void | validateClassValues(javax.
Throws an exception if this annotation contains a value for a Class element that is not actually a type. |
| AnnotationOutput | back to summary |
|---|---|
| private AnnotationOutput() | |
| appendEscaped | back to summary |
|---|---|
| private static void appendEscaped(StringBuilder sb, char c) | |
| appendQuoted | back to summary |
|---|---|
| private static StringBuilder appendQuoted(StringBuilder sb, String s) | |
| appendQuoted | back to summary |
|---|---|
| private static StringBuilder appendQuoted(StringBuilder sb, char c) | |
| isJavaLangClass | back to summary |
|---|---|
| private static boolean isJavaLangClass(javax. | |
| sourceFormForAnnotation | back to summary |
|---|---|
| pack-priv static String sourceFormForAnnotation(javax. Returns a string representation of the given annotation mirror, suitable for inclusion in a Java source file to reproduce the annotation in source form. | |
| sourceFormForInitializer | back to summary |
|---|---|
| pack-priv static String sourceFormForInitializer(javax. Returns a string representation of the given annotation value, suitable for inclusion in a Java source file as the initializer of a variable of the appropriate type. | |
| validateClassValues | back to summary |
|---|---|
| private static void validateClassValues(javax. Throws an exception if this annotation contains a value for a Class element that is not
actually a type. The assumption is that the value is the string | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Optional | |
| public Void | |
| public Void | visitArray(List<? extends javax.
Overrides com.
|
| AnnotationSourceFormVisitor | back to summary |
|---|---|
| private AnnotationSourceFormVisitor() | |
| shortForm | back to summary |
|---|---|
| private static Optional | |
| visitAnnotation | back to summary |
|---|---|
public Void visitAnnotation(javax.
| |
| visitArray | back to summary |
|---|---|
| public Void visitArray(List<? extends javax. Overrides com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final javax. | |
| private final String | |
| private final javax. |
| Access | Constructor and Description |
|---|---|
| pack-priv | InitializerSourceFormVisitor(javax.
|
| Modifier and Type | Method and Description |
|---|---|
| public Void |
| errorContext | back to summary |
|---|---|
| private final javax. | |
| memberName | back to summary |
|---|---|
| private final String memberName | |
| processingEnv | back to summary |
|---|---|
| private final javax. | |
| InitializerSourceFormVisitor | back to summary |
|---|---|
| pack-priv InitializerSourceFormVisitor(javax. | |
| visitAnnotation | back to summary |
|---|---|
public Void visitAnnotation(javax.
| |
@NestedAnnotation(...), while in an initializer it must be written as an object, for
example the construction of an @AutoAnnotation class. That's why we have this abstract
class and two concrete subclasses.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void |
| SourceFormVisitor | back to summary |
|---|---|
| private SourceFormVisitor() | |
| defaultAction | back to summary |
|---|---|
protected Void defaultAction(Object value, StringBuilder sb)
| |
| visitArray | back to summary |
|---|---|
public Void visitArray(List<? extends javax.
| |
| visitChar | back to summary |
|---|---|
public Void visitChar(char c, StringBuilder sb)
| |
| visitDouble | back to summary |
|---|---|
public Void visitDouble(double d, StringBuilder sb)
| |
| visitEnumConstant | back to summary |
|---|---|
public Void visitEnumConstant(javax.
| |
| visitFloat | back to summary |
|---|---|
public Void visitFloat(float f, StringBuilder sb)
| |
| visitLong | back to summary |
|---|---|
public Void visitLong(long i, StringBuilder sb)
| |
| visitString | back to summary |
|---|---|
public Void visitString(String s, StringBuilder sb)
| |
| visitType | back to summary |
|---|---|
public Void visitType(javax.
| |