Class ReflectiveRuntimeHintsRegistrar
java.lang.Object
org.springframework.aot.hint.annotation.ReflectiveRuntimeHintsRegistrar
Process
@Reflective annotated elements.- Since:
- 6.0
- Author:
- Stephane Nicoll, Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCandidate(Class<?> type) Specify if the giventypeis a valid candidate.voidregisterRuntimeHints(RuntimeHints runtimeHints, Class<?>... types) Register the relevant runtime hints for elements that are annotated withReflective.
-
Constructor Details
-
ReflectiveRuntimeHintsRegistrar
public ReflectiveRuntimeHintsRegistrar()
-
-
Method Details
-
registerRuntimeHints
Register the relevant runtime hints for elements that are annotated withReflective.- Parameters:
runtimeHints- the runtime hints instance to usetypes- the types to process
-
isCandidate
Specify if the giventypeis a valid candidate.- Parameters:
type- the type to inspect- Returns:
trueif the type usesReflectivein a way that is supported by this registrar- Since:
- 6.2
-