AnnotationConsumerInitializer is an internal helper class for
initializing AnnotationConsumers.
| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <T extends Annotation> List | |
| private static <T> Class | |
| private static Class | |
| public static <T> T | |
| private static <A extends Annotation> void |
| annotationConsumingMethodSignatures | back to summary |
|---|---|
| private static final List<AnnotationConsumerInitializer. | |
| AnnotationConsumerInitializer | back to summary |
|---|---|
| private AnnotationConsumerInitializer() | |
| findAnnotations | back to summary |
|---|---|
| private static <T extends Annotation> List | |
| findConsumedAnnotationType | back to summary |
|---|---|
| private static <T> Class | |
| getAnnotationType | back to summary |
|---|---|
private static Class
| |
| initialize | back to summary |
|---|---|
public static <T> T initialize(AnnotatedElement annotatedElement, T annotationConsumerInstance)
| |
| initializeAnnotationConsumer | back to summary |
|---|---|
| private static <A extends Annotation> void initializeAnnotationConsumer(AnnotationConsumer<A> instance, A annotation) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | annotationParameterIndex
Record Component accessed by annotationParameterIndex(). |
| private final String | methodName
Record Component accessed by methodName(). |
| private final int | parameterCount
Record Component accessed by parameterCount(). |
| Access | Constructor and Description |
|---|---|
| private | AnnotationConsumingMethodSignature(String methodName, int parameterCount, int annotationParameterIndex)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| pack-priv boolean | |
| public String | |
| public int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| annotationParameterIndex | back to summary |
|---|---|
| private final int annotationParameterIndex Record Component accessed by annotationParameterIndex(). | |
| methodName | back to summary |
|---|---|
| private final String methodName Record Component accessed by methodName(). | |
| parameterCount | back to summary |
|---|---|
| private final int parameterCount Record Component accessed by parameterCount(). | |
| AnnotationConsumingMethodSignature | back to summary |
|---|---|
| private AnnotationConsumingMethodSignature(String methodName, int parameterCount, int annotationParameterIndex) | |
| annotationParameterIndex | back to summary |
|---|---|
| public int annotationParameterIndex() Record Component getter of annotationParameterIndex. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| isMatchingWith | back to summary |
|---|---|
| pack-priv boolean isMatchingWith(Method method) | |
| methodName | back to summary |
|---|---|
| public String methodName() Record Component getter of methodName. | |
| parameterCount | back to summary |
|---|---|
| public int parameterCount() Record Component getter of parameterCount. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |