Uses of Class
org.springframework.aot.hint.LambdaHint.Builder
Packages that use LambdaHint.Builder
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
Uses of LambdaHint.Builder in org.springframework.aot.hint
Methods in org.springframework.aot.hint that return LambdaHint.BuilderModifier and TypeMethodDescriptionstatic LambdaHint.BuilderInitialize a builder with the class declaring the lambda.static LambdaHint.BuilderLambdaHint.of(TypeReference declaringClass) Initialize a builder with the class declaring the lambda.LambdaHint.Builder.onReachableType(Class<?> reachableType) Make this hint conditional on the fact that the specified type is in a reachable code path from a static analysis point of view.LambdaHint.Builder.onReachableType(TypeReference reachableType) Make this hint conditional on the fact that the specified type is in a reachable code path from a static analysis point of view.LambdaHint.Builder.withDeclaringMethod(String name, Class<?>... parameterTypes) Set the method that declares the lambda.LambdaHint.Builder.withDeclaringMethod(String name, List<TypeReference> parameterTypes) Set the method that declares the lambda.LambdaHint.Builder.withInterfaces(Class<?>... interfaces) Add the specified interfaces that the lambda should implement.LambdaHint.Builder.withInterfaces(TypeReference... interfaces) Add the specified interfaces that the lambda should implement.Method parameters in org.springframework.aot.hint with type arguments of type LambdaHint.BuilderModifier and TypeMethodDescriptionReflectionHints.registerLambda(Class<?> declaringClass, Consumer<LambdaHint.Builder> lambdaHint) Register aLambdaHint.ReflectionHints.registerLambda(TypeReference declaringClass, Consumer<LambdaHint.Builder> lambdaHint) Register aLambdaHint.