Package org.springframework.aot.hint
@NonNullApi
@NonNullFields
package org.springframework.aot.hint
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
-
ClassDescriptionBase
TypeReference
implementation that ensures consistent behaviour forequals()
,hashCode()
, andtoString()
based on the canonical name.Register the necessary reflection hints so that the specified type can be bound at runtime.Contract forruntime hints
that only apply if the described condition is met.A hint that describes the need for reflection on aMethod
orConstructor
.Builder forExecutableHint
.Represent the need of reflection for a givenExecutable
.A hint that describes the need for reflection on aField
.A hint that describes the need for Java serialization at runtime.Builder forJavaSerializationHint
.A hint that describes the need for a JDK interface-basedProxy
.Builder forJdkProxyHint
.PredefinedMember
categories.Base hint that describes the need for reflection on aMember
.Gather the need for using proxies at runtime.Gather the need for reflection at runtime.A hint that describes the need to access aResourceBundle
.Builder forResourceBundleHint
.Gather the need for resources available at runtime.A hint that describes resources that should be made available at runtime.A collection ofResourcePatternHint
describing whether resources should be made available at runtime using a matching algorithm based on include/exclude patterns.Builder forResourcePatternHints
.Gather hints that can be used to optimize the application runtime.Contract for registeringRuntimeHints
based on theClassLoader
of the deployment unit.Gather the need for Java serialization at runtime.A hint that describes the need for reflection on a type.Builder forTypeHint
.Type abstraction that can be used to refer to types that are not available as aClass
yet.