Package org.springframework.aot.generator
@NonNullApi
@NonNullFields
package org.springframework.aot.generator
Support classes for components that contribute generated code equivalent
to a runtime behavior.
-
ClassDescriptionA code contribution that gathers the code, the runtime hints, and the protected elements that are necessary to execute it.A default
CodeContribution
implementation.DefaultGeneratedTypeContext
implementation.Wrapper for a generated type.Context passed to object that can generate code, giving access to a mainGeneratedType
as well as to aGeneratedType
in a given package if privileged access is required.ATypeReference
for a generated type.Gather the need of non-public access and determine the privileged package to use, if necessary.Options to use to analyze if invoking aMember
requires privileged access.Thrown when a code block requires privileged access on multiple packages.AMember
that is non-public, with the related type.Code generator forResolvableType
.