| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private javax. | |
| private javax. | |
| private javax. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private AbortProcessingException | abortWithError(javax.
Issue a compilation error and return an exception that, when thrown, will cause the processing of this class to be abandoned. |
| private boolean | compatibleTypes(javax.
Returns true if |
| private static long | computeSerialVersionUid(ImmutableMap<String, AutoAnnotationProcessor.
We compute a |
| private String | |
| private static String | |
| private String | |
| private javax. | |
| private ImmutableMap | |
| private String | |
| private ImmutableMap | |
| private ImmutableMap | getMembers(javax.
|
| private ImmutableMap | getParameters(javax.
|
| public ImmutableSet | |
| public javax. | |
| private javax. | |
| public synchronized void | |
| private static Optional | invariableHash(javax.
Returns the hashCode of the given AnnotationValue, if that hashCode is guaranteed to be always the same. |
| private static Optional | |
| private static ImmutableMap | invariableHashes(ImmutableMap<String, AutoAnnotationProcessor.
Returns a map from the names of members with invariable hashCodes to the values of those hashCodes. |
| private static boolean | |
| private boolean | |
| public boolean | |
| private void | |
| private void | |
| private void | reportError(javax.
Issue a compilation error. |
| private void | validateParameters(javax.
|
| private ImmutableSet | wrapperTypesUsedInCollections(javax.
Returns the wrapper types ( |
| private void | writeSourceFile(String className, String text, javax.
|
| elementUtils | back to summary |
|---|---|
| private javax. | |
| javaLangObject | back to summary |
|---|---|
| private javax. | |
| typeUtils | back to summary |
|---|---|
| private javax. | |
| AutoAnnotationProcessor | back to summary |
|---|---|
| public AutoAnnotationProcessor() | |
| abortWithError | back to summary |
|---|---|
| private AbortProcessingException abortWithError(javax. Issue a compilation error and return an exception that, when thrown, will cause the processing of this class to be abandoned. This does not prevent the processing of other classes.
| |
| compatibleTypes | back to summary |
|---|---|
| private boolean compatibleTypes(javax. Returns true if | |
| computeSerialVersionUid | back to summary |
|---|---|
| private static long computeSerialVersionUid(ImmutableMap<String, AutoAnnotationProcessor. We compute a We could instead add a | |
| equalsParameterType | back to summary |
|---|---|
| private String equalsParameterType() | |
| fullyQualifiedName | back to summary |
|---|---|
| private static String fullyQualifiedName(String pkg, String cls) | |
| generatedClassName | back to summary |
|---|---|
| private String generatedClassName(javax. | |
| getAnnotationReturnType | back to summary |
|---|---|
| private javax. | |
| getDefaultValues | back to summary |
|---|---|
| private ImmutableMap | |
| getGeneratedTypeName | back to summary |
|---|---|
| private String getGeneratedTypeName() | |
| getMemberMethods | back to summary |
|---|---|
| private ImmutableMap | |
| getMembers | back to summary |
|---|---|
| private ImmutableMap | |
| getParameters | back to summary |
|---|---|
| private ImmutableMap | |
| getSupportedOptions | back to summary |
|---|---|
public ImmutableSet
| |
| getSupportedSourceVersion | back to summary |
|---|---|
public javax.
| |
| getTypeMirror | back to summary |
|---|---|
| private javax. | |
| init | back to summary |
|---|---|
public synchronized void init(javax.
| |
| invariableHash | back to summary |
|---|---|
| private static Optional Returns the hashCode of the given AnnotationValue, if that hashCode is guaranteed to be always the same. The hashCode of a String or primitive type never changes. The hashCode of a Class or an enum constant does potentially change in different runs of the same program. The hashCode of an array doesn't change if the hashCodes of its elements don't. Although we could have a similar rule for nested annotation values, we currently don't. | |
| invariableHash | back to summary |
|---|---|
| private static Optional | |
| invariableHashes | back to summary |
|---|---|
| private static ImmutableMap Returns a map from the names of members with invariable hashCodes to the values of those hashCodes. | |
| isGwtCompatible | back to summary |
|---|---|
| private static boolean isGwtCompatible(javax. | |
| methodsAreOverloaded | back to summary |
|---|---|
| private boolean methodsAreOverloaded(List<javax. | |
| process | back to summary |
|---|---|
public boolean process(Set<? extends javax.
| |
| process | back to summary |
|---|---|
| private void process(javax. | |
| processMethod | back to summary |
|---|---|
| private void processMethod(javax. | |
| reportError | back to summary |
|---|---|
| private void reportError(javax. Issue a compilation error. This method does not throw an exception, since we want to continue processing and perhaps report other errors.
| |
| validateParameters | back to summary |
|---|---|
| private void validateParameters(javax. | |
| wrapperTypesUsedInCollections | back to summary |
|---|---|
| private ImmutableSet Returns the wrapper types ( | |
| writeSourceFile | back to summary |
|---|---|
| private void writeSourceFile(String className, String text, javax. | |
| Modifier and Type | Field and Description |
|---|---|
| private final javax. | |
| private final javax. | |
| private final javax. |
| Access | Constructor and Description |
|---|---|
| pack-priv | Member(javax.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public javax. | |
| public int | |
| public String | |
| public javax. | |
| public boolean | |
| public String |
| context | back to summary |
|---|---|
| private final javax. | |
| method | back to summary |
|---|---|
| private final javax. | |
| processingEnv | back to summary |
|---|---|
| private final javax. | |
| Member | back to summary |
|---|---|
| pack-priv Member(javax. | |
| getComponentType | back to summary |
|---|---|
| public String getComponentType() | |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() | |
| getKind | back to summary |
|---|---|
| public javax. | |
| getNameHash | back to summary |
|---|---|
| public int getNameHash() | |
| getType | back to summary |
|---|---|
| public String getType() | |
| getTypeMirror | back to summary |
|---|---|
| public javax. | |
| isArrayOfClassWithBounds | back to summary |
|---|---|
| public boolean isArrayOfClassWithBounds() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final javax. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public javax. | |
| public String |
| kind | back to summary |
|---|---|
| private final javax. | |
| typeName | back to summary |
|---|---|
| private final String typeName | |
| Parameter | back to summary |
|---|---|
| pack-priv Parameter(javax. | |
| getKind | back to summary |
|---|---|
| public javax. | |
| getType | back to summary |
|---|---|
| public String getType() | |