ReflectionHints predicates, testing whether the given hints
match the expected behavior for reflection.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public abstract static class | |
| public static class | |
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Method | |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe constructor constructor)Return a predicate that checks whether a reflection hint is registered for the given constructor. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe type holding the field type, String the field name fieldName)Return a predicate that checks whether a reflection hint is registered for the field that matches the given selector. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe name of the class holding the field className, String the field name fieldName)Return a predicate that checks whether a reflection hint is registered for the field that matches the given selector. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe field field)Return a predicate that checks whether a reflection hint is registered for the given field. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe method method)Return a predicate that checks whether a reflection hint is registered for the given method. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe type holding the method type, String the method name methodName)Return a predicate that checks whether a reflection hint is registered for the method that matches the given selector. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe name of the class holding the method className, String the method name methodName)Return a predicate that checks whether a reflection hint is registered for the method that matches the given selector. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe type typeReference)Return a predicate that checks whether a reflection hint is registered for the given type. |
| public ReflectionHintsPredicates. | Returns: theRuntimeHints predicatethe type type)Return a predicate that checks whether a reflection hint is registered for the given type. |
| ReflectionHintsPredicates | back to summary |
|---|---|
| pack-priv ReflectionHintsPredicates() | |
| getMethod | back to summary |
|---|---|
| private Method getMethod(Class<?> type, String methodName) | |
| onConstructor | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the given constructor. By default, both introspection and invocation hints match. The returned type exposes additional methods that refine the predicate behavior.
| |
| onField | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the field that matches the given selector. This looks up a field on the given type with the expected name, if present. By default, unsafe or write access is not considered. The returned type exposes additional methods that refine the predicate behavior.
| |
| onField | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the field that matches the given selector. This looks up a field on the given type with the expected name, if present. By default, unsafe or write access is not considered. The returned type exposes additional methods that refine the predicate behavior.
| |
| onField | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the given field. By default, unsafe or write access is not considered. The returned type exposes additional methods that refine the predicate behavior.
| |
| onMethod | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the given method. By default, both introspection and invocation hints match. The returned type exposes additional methods that refine the predicate behavior.
| |
| onMethod | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the method that matches the given selector. This looks up a method on the given type with the expected name, if unique. By default, both introspection and invocation hints match. The returned type exposes additional methods that refine the predicate behavior.
| |
| onMethod | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the method that matches the given selector. This looks up a method on the given type with the expected name, if unique. By default, both introspection and invocation hints match. The returned type exposes additional methods that refine the predicate behavior.
| |
| onType | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the given type. The returned type exposes additional methods that refine the predicate behavior.
| |
| onType | back to summary |
|---|---|
| public ReflectionHintsPredicates. Return a predicate that checks whether a reflection hint is registered for the given type. The returned type exposes additional methods that refine the predicate behavior.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Predicate | |
| pack-priv MemberCategory[] | |
| pack-priv MemberCategory[] | |
| public boolean | test(RuntimeHints
the input argument runtimeHints)Implements java. |
| ConstructorHintPredicate | back to summary |
|---|---|
| pack-priv ConstructorHintPredicate(Constructor<?> constructor) | |
| exactMatch | back to summary |
|---|---|
| pack-priv Predicate Implements abstract org.
| |
| getDeclaredMemberCategories | back to summary |
|---|---|
| pack-priv MemberCategory[] getDeclaredMemberCategories() | |
| getPublicMemberCategories | back to summary |
|---|---|
| pack-priv MemberCategory[] getPublicMemberCategories() | |
| test | back to summary |
|---|---|
| public boolean test(RuntimeHints runtimeHints) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final T | |
| protected ExecutableMode |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract Predicate | |
| pack-priv static boolean | Returns: true if the member matches (same type, name, and parameters),
and the configured ExecutableMode is compatibleIndicate whether the specified |
| public ReflectionHintsPredicates. | Returns: the refinedRuntimeHints predicateRefine the current predicate to match for reflection introspection on the current type. |
| public ReflectionHintsPredicates. | Returns: the refinedRuntimeHints predicateRefine the current predicate to match for reflection invocation on the current type. |
| executable | back to summary |
|---|---|
| protected final T executable | |
| executableMode | back to summary |
|---|---|
| protected ExecutableMode executableMode | |
| ExecutableHintPredicate | back to summary |
|---|---|
| pack-priv ExecutableHintPredicate(T executable) | |
| exactMatch | back to summary |
|---|---|
| pack-priv abstract Predicate | |
| includes | back to summary |
|---|---|
| pack-priv static boolean includes(ExecutableHint hint, String name, List<TypeReference> parameterTypes, ExecutableMode executableModes) Indicate whether the specified
| |
| introspect | back to summary |
|---|---|
| public ReflectionHintsPredicates. Refine the current predicate to match for reflection introspection on the current type.
| |
| invoke | back to summary |
|---|---|
| public ReflectionHintsPredicates. Refine the current predicate to match for reflection invocation on the current type.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| public boolean | test(RuntimeHints
the input argument runtimeHints)Implements java. |
| field | back to summary |
|---|---|
| private final Field field | |
| FieldHintPredicate | back to summary |
|---|---|
| pack-priv FieldHintPredicate(Field field) | |
| exactMatch | back to summary |
|---|---|
| private boolean exactMatch(TypeHint typeHint) | |
| memberCategoryMatch | back to summary |
|---|---|
| private boolean memberCategoryMatch(TypeHint typeHint) | |
| test | back to summary |
|---|---|
| public boolean test(RuntimeHints runtimeHints) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Predicate | |
| pack-priv MemberCategory[] | |
| pack-priv MemberCategory[] | |
| public boolean | test(RuntimeHints
the input argument runtimeHints)Implements java. |
| MethodHintPredicate | back to summary |
|---|---|
| pack-priv MethodHintPredicate(Method method) | |
| exactMatch | back to summary |
|---|---|
| pack-priv Predicate Implements abstract org.
| |
| getDeclaredMemberCategories | back to summary |
|---|---|
| pack-priv MemberCategory[] getDeclaredMemberCategories() | |
| getPublicMemberCategories | back to summary |
|---|---|
| pack-priv MemberCategory[] getPublicMemberCategories() | |
| test | back to summary |
|---|---|
| public boolean test(RuntimeHints runtimeHints) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private TypeHint | |
| public boolean | test(RuntimeHints
the input argument hints)Implements java. |
| public Predicate | Returns: the refinedRuntimeHints predicatethe member categories memberCategories)Refine the current predicate to match if any of the given |
| public Predicate | Returns: the refinedRuntimeHints predicatethe member categories memberCategories)Refine the current predicate to only match if the given |
| public Predicate | Returns: the refinedRuntimeHints predicatethe member category memberCategory)Refine the current predicate to only match if the given |
| type | back to summary |
|---|---|
| private final TypeReference type | |
| TypeHintPredicate | back to summary |
|---|---|
| pack-priv TypeHintPredicate(TypeReference type) | |
| getTypeHint | back to summary |
|---|---|
private TypeHint getTypeHint(RuntimeHints hints)
| |
| test | back to summary |
|---|---|
| public boolean test(RuntimeHints hints) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| withAnyMemberCategory | back to summary |
|---|---|
| public Predicate Refine the current predicate to match if any of the given
| |
| withMemberCategories | back to summary |
|---|---|
| public Predicate Refine the current predicate to only match if the given
| |
| withMemberCategory | back to summary |
|---|---|
| public Predicate Refine the current predicate to only match if the given
| |