Uses of Class
org.springframework.aot.hint.ExecutableHint.Builder
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
Uses of ExecutableHint.Builder in org.springframework.aot.hint
Modifier and TypeMethodDescriptionstatic ExecutableHint.Builder
ExecutableHint.ofConstructor
(List<TypeReference> parameterTypes) Initialize a builder with the parameter types of a constructor.static ExecutableHint.Builder
ExecutableHint.ofMethod
(String name, List<TypeReference> parameterTypes) Initialize a builder with the name and parameters types of a method.ExecutableHint.Builder.setModes
(ExecutableMode... modes) Set the modes to use.ExecutableHint.Builder.withMode
(ExecutableMode mode) Add the specified mode if necessary.Modifier and TypeMethodDescriptionReflectionHints.registerConstructor
(Constructor<?> constructor, Consumer<ExecutableHint.Builder> constructorHint) Register the need for reflection on the specifiedConstructor
.ReflectionHints.registerMethod
(Method method, Consumer<ExecutableHint.Builder> methodHint) Register the need for reflection on the specifiedMethod
.TypeHint.Builder.withConstructor
(List<TypeReference> parameterTypes, Consumer<ExecutableHint.Builder> constructorHint) Register the need for reflection on the constructor with the specified parameter types.TypeHint.Builder.withMethod
(String name, List<TypeReference> parameterTypes, Consumer<ExecutableHint.Builder> methodHint) Register the need for reflection on the method with the specified name and parameter types.