RuntimeHints
instance matches the expected behavior for reflection, resource, serialization,
or proxy generation.
This utility class can be used by RuntimeHintsRegistrar to conditionally
register hints depending on what's present already. This can also be used as a
testing utility for checking proper registration of hints:
Predicate<RuntimeHints> predicate = RuntimeHintsPredicates.reflection().onMethod(MyClass.class, "someMethod").invoke(); assertThat(predicate).accepts(runtimeHints);
| Modifier and Type | Field and Description |
|---|---|
| private static final ProxyHintsPredicates | |
| private static final ReflectionHintsPredicates | |
| private static final ResourceHintsPredicates | |
| private static final SerializationHintsPredicates |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ProxyHintsPredicates | |
| public static ReflectionHintsPredicates | |
| public static ResourceHintsPredicates | |
| public static SerializationHintsPredicates | Returns: the predicate generatorReturn a predicate generator for |
| proxies | back to summary |
|---|---|
| private static final ProxyHintsPredicates proxies | |
| reflection | back to summary |
|---|---|
| private static final ReflectionHintsPredicates reflection | |
| resource | back to summary |
|---|---|
| private static final ResourceHintsPredicates resource | |
| serialization | back to summary |
|---|---|
| private static final SerializationHintsPredicates serialization | |
| RuntimeHintsPredicates | back to summary |
|---|---|
| private RuntimeHintsPredicates() | |
| proxies | back to summary |
|---|---|
| public static ProxyHintsPredicates proxies() Return a predicate generator for
| |
| reflection | back to summary |
|---|---|
| public static ReflectionHintsPredicates reflection() Return a predicate generator for
| |
| resource | back to summary |
|---|---|
| public static ResourceHintsPredicates resource() Return a predicate generator for
| |
| serialization | back to summary |
|---|---|
| public static SerializationHintsPredicates serialization() Return a predicate generator for
| |