| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final javax. | |
| private javax. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static AutoValueishProcessor. | annotationBuilderProperty(javax.
|
| private ImmutableSet | |
| private void | buildAnnotation(javax.
|
| private static javax. | |
| private String | |
| private boolean | executableMatches(Executable executable, ImmutableSet<javax.
|
| private String | |
| private Executable | findExecutable(javax.
|
| private javax. | |
| private ImmutableList | findRelevantExecutables(javax.
|
| private void | generateForwardingClass(String forwardingClassName, Executable executable, javax.
Generates a class that will call the synthetic Kotlin constructor that is used to specify which optional parameters are defaulted. |
| private javax. | getOfClass(javax.
|
| public Set | |
| public synchronized void | init(javax.
Overrides com.
|
| private static int[] | |
| private ImmutableList | kotlinConstructorsIn(javax.
Use Kotlin reflection to build |
| private Optional | |
| private Executable | matchingExecutable(javax.
|
| private Optional | |
| private AutoValueishProcessor. | |
| pack-priv Optional | nullableAnnotationForMethod(javax.
Implements abstract com. Returns the appropriate |
| private static ImmutableSet | |
| pack-priv void | processType(javax.
the class with the autoBuilderType@AutoValue or @AutoOneOf annotation.Implements abstract com. Analyzes a single |
| private void | processType(javax.
|
| private ImmutableMap | |
| private ImmutableSet | propertySet(Executable executable, Map<String, String> propertyToGetterName, ImmutableMap<String, String> builderInitializers, Nullables nullables)
|
| private ImmutableMap | propertyToGetterName(Executable executable, javax.
Returns a map from property names to the corresponding getters in the built type. |
| private static String[] | |
| private boolean | visibleFrom(javax.
|
| ALLOW_OPTION | back to summary |
|---|---|
| private static final String ALLOW_OPTION | |
| AUTO_ANNOTATION_CLASS_PREFIX | back to summary |
|---|---|
| private static final String AUTO_ANNOTATION_CLASS_PREFIX | |
| ELEMENT_KIND_RECORD | back to summary |
|---|---|
| private static final javax. | |
| javaLangVoid | back to summary |
|---|---|
| private javax. | |
| AutoBuilderProcessor | back to summary |
|---|---|
| public AutoBuilderProcessor() | |
| annotationBuilderProperty | back to summary |
|---|---|
| private static AutoValueishProcessor. | |
| annotationBuilderPropertySet | back to summary |
|---|---|
| private ImmutableSet | |
| buildAnnotation | back to summary |
|---|---|
| private void buildAnnotation(javax. | |
| elementKindRecord | back to summary |
|---|---|
| private static javax. | |
| executableListString | back to summary |
|---|---|
| private String executableListString(List<Executable> executables) | |
| executableMatches | back to summary |
|---|---|
| private boolean executableMatches(Executable executable, ImmutableSet<javax. | |
| findCallMethodValue | back to summary |
|---|---|
| private String findCallMethodValue(javax. | |
| findExecutable | back to summary |
|---|---|
| private Executable findExecutable(javax. | |
| findOfClassValue | back to summary |
|---|---|
| private javax. | |
| findRelevantExecutables | back to summary |
|---|---|
| private ImmutableList | |
| generateForwardingClass | back to summary |
|---|---|
| private void generateForwardingClass(String forwardingClassName, Executable executable, javax. Generates a class that will call the synthetic Kotlin constructor that is used to specify which
optional parameters are defaulted. Because it is synthetic, it can't be called from Java source
code. Instead, Java source code calls the | |
| getOfClass | back to summary |
|---|---|
| private javax. | |
| getSupportedOptions | back to summary |
|---|---|
public Set
| |
| init | back to summary |
|---|---|
| public synchronized void init(javax. Overrides com.
| |
| intArrayValue | back to summary |
|---|---|
| private static int[] intArrayValue(javax. | |
| kotlinConstructorsIn | back to summary |
|---|---|
| private ImmutableList Use Kotlin reflection to build | |
| kotlinMetadataAnnotation | back to summary |
|---|---|
| private Optional | |
| matchingExecutable | back to summary |
|---|---|
| private Executable matchingExecutable(javax. | |
| maybeForwardingClass | back to summary |
|---|---|
| private Optional | |
| newProperty | back to summary |
|---|---|
| private AutoValueishProcessor. | |
| nullableAnnotationForMethod | back to summary |
|---|---|
| pack-priv Optional Implements abstract com. Doc from com. Returns the appropriate
| |
| parameterNames | back to summary |
|---|---|
| private static ImmutableSet | |
| processType | back to summary |
|---|---|
| pack-priv void processType(javax. Implements abstract com. Doc from com. Analyzes a single
| |
| processType | back to summary |
|---|---|
| private void processType(javax. | |
| propertyInitializers | back to summary |
|---|---|
| private ImmutableMap | |
| propertySet | back to summary |
|---|---|
| private ImmutableSet | |
| propertyToGetterName | back to summary |
|---|---|
| private ImmutableMap Returns a map from property names to the corresponding getters in the built type. The built
type is the return type of the given The method name match is case-insensitive, so we will also accept The return type of each getter method must match the type of the corresponding parameter
exactly. This will always be true for our principal use cases, Java records and Kotlin data
classes. For other use cases, we may in the future accept getters where we know how to convert,
for example if the getter has type | |
| stringArrayValue | back to summary |
|---|---|
| private static String[] stringArrayValue(javax. | |
| visibleFrom | back to summary |
|---|---|
| private boolean visibleFrom(javax. | |