Uses of Class
org.springframework.aot.generator.ProtectedAccess.Options.Builder
Package
Description
Support classes for components that contribute generated code equivalent
to a runtime behavior.
-
Uses of ProtectedAccess.Options.Builder in org.springframework.aot.generator
Modifier and TypeMethodDescriptionProtectedAccess.Options.Builder.assignReturnType
(boolean assignReturnType) Specify if the return type is assigned so that its type can be analyzed if necessary.ProtectedAccess.Options.Builder.assignReturnType
(Function<Member, Boolean> assignReturnType) Specify a function that determines whether the return type is assigned so that its type can be analyzed.ProtectedAccess.Options.defaults()
Initialize aProtectedAccess.Options.Builder
with default options, that is use reflection if the member is private and does not assign the return type.ProtectedAccess.Options.Builder.useReflection
(Function<Member, Boolean> useReflection) Specify a function that determines whether reflection can be used for a givenMember
.