# Uses of Class
org.springframework.aot.hint.ResourceHints

Packages that use ResourceHints
Package
Description
org.springframework.aot.hint
Support for registering the need for reflection, resources, java serialization and proxies at runtime.
org.springframework.aot.hint.support
Convenience classes for using runtime hints.

## Uses of ResourceHints in org.springframework.aot.hint

Methods in org.springframework.aot.hint that return ResourceHints
Modifier and Type
Method
Description
`ResourceHints`
ResourceHints.`registerPattern(String include)`
Register that the resources matching the specified pattern should be made available at runtime.
`ResourceHints`
ResourceHints.`registerPattern(Consumer<ResourcePatternHints.Builder> resourceHint)`
Register that the resources matching the specified pattern should be made available at runtime.
`ResourceHints`
ResourceHints.`registerPatternIfPresent(ClassLoader classLoader, String location, Consumer<ResourcePatternHints.Builder> resourceHint)`
Register a pattern if the given `location` is available on the classpath.
`ResourceHints`
ResourceHints.`registerResourceBundle(String baseName)`
Register that the resource bundle with the specified base name should be made available at runtime.
`ResourceHints`
ResourceHints.`registerResourceBundle(String baseName, Consumer<ResourceBundleHint.Builder> resourceHint)`
Register that the resource bundle with the specified base name should be made available at runtime.
`ResourceHints`
ResourceHints.`registerType(Class<?> type)`
Register that the bytecode of the specified type should be made available at runtime.
`ResourceHints`
ResourceHints.`registerType(TypeReference type)`
Register that the bytecode of the type defined by the specified `TypeReference` should be made available at runtime.
`ResourceHints`
RuntimeHints.`resources()`
Provide access to resource-based hints.

## Uses of ResourceHints in org.springframework.aot.hint.support

Methods in org.springframework.aot.hint.support with parameters of type ResourceHints
Modifier and Type
Method
Description
`void`
FilePatternResourceHintsRegistrar.Builder.`registerHints(ResourceHints hints, ClassLoader classLoader)`
Register resource hints for the current state of this builder.
`void`
FilePatternResourceHintsRegistrar.`registerHints(ResourceHints hints, ClassLoader classLoader)`
Deprecated, for removal: This API element is subject to removal in a future version.