@Reflective annotated elements.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ReflectiveRuntimeHintsRegistrar. | |
| private void | |
| private ReflectiveProcessor | |
| private boolean | |
| private void | |
| public void | registerRuntimeHints(RuntimeHints
the runtime hints instance to use runtimeHints, Class<?>... the types to process types)Register the relevant runtime hints for elements that are annotated with
|
| processors | back to summary |
|---|---|
| private final Map<Class<? extends ReflectiveProcessor>, ReflectiveProcessor> processors | |
| ReflectiveRuntimeHintsRegistrar | back to summary |
|---|---|
| public ReflectiveRuntimeHintsRegistrar() | |
| createEntry | back to summary |
|---|---|
private ReflectiveRuntimeHintsRegistrar.
| |
| doWithReflectiveConstructors | back to summary |
|---|---|
| private void doWithReflectiveConstructors(Class<?> typeToProcess, Consumer<Constructor<?>> consumer) | |
| instantiateClass | back to summary |
|---|---|
| private ReflectiveProcessor instantiateClass(Class<? extends ReflectiveProcessor> type) | |
| isReflective | back to summary |
|---|---|
| private boolean isReflective(AnnotatedElement element) | |
| processType | back to summary |
|---|---|
| private void processType(Set<ReflectiveRuntimeHintsRegistrar. | |
| registerRuntimeHints | back to summary |
|---|---|
| public void registerRuntimeHints(RuntimeHints runtimeHints, Class<?>... types) Register the relevant runtime hints for elements that are annotated with
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Iterable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | registerReflectionHints(ReflectionHints
the reflection hints instance to use hints, AnnotatedElement the element to process element)Implements org. ReflectionHints against the specified AnnotatedElement.
|
| processors | back to summary |
|---|---|
| private final Iterable<ReflectiveProcessor> processors | |
| DelegatingReflectiveProcessor | back to summary |
|---|---|
| pack-priv DelegatingReflectiveProcessor(Iterable<ReflectiveProcessor> processors) | |
| registerReflectionHints | back to summary |
|---|---|
| public void registerReflectionHints(ReflectionHints hints, AnnotatedElement element) Implements org. Doc from org. Register
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AnnotatedElement | |
| private final ReflectiveProcessor | processor
Record Component accessed by processor(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedElement | |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. |
| public final int | |
| public ReflectiveProcessor | |
| public final String | toString()
Implements abstract java. |
| element | back to summary |
|---|---|
| private final AnnotatedElement element Record Component accessed by element(). | |
| processor | back to summary |
|---|---|
| private final ReflectiveProcessor processor Record Component accessed by processor(). | |
| Entry | back to summary |
|---|---|
| private Entry(AnnotatedElement element, ReflectiveProcessor processor) | |
| element | back to summary |
|---|---|
| public AnnotatedElement element() Record Component getter of element. | |
| 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
| |
| processor | back to summary |
|---|---|
| public ReflectiveProcessor processor() Record Component getter of processor. | |
| 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.
| |