Package org.springframework.data.util
@NullMarked
package org.springframework.data.util
Core utility APIs such as a type information framework to resolve generic types.
-
ClassDescriptionScanner to find types with annotations on the classpath.A
ReflectionUtils.FieldCallbackthat will inspect each field for a given annotation.AnnotationDetectionMethodCallback<A extends Annotation>ReflectionUtils.MethodCallbackto find annotations of a given type.Simple helper to allow lenient lookup of beans of a given type from aListableBeanFactory.Utility class to work with classes.ACloseableIteratorserves as a bridging data structure for the underlying data store specific results that can be wrapped in a Java 8java.util.stream.Stream.Custom extension ofBeanWrapperImplthat falls back to direct field access in case the object or type being wrapped does not use accessor methods.BeanInfoFactoryspecific to Kotlin types using Kotlin reflection to determine bean properties.Reflection utility methods specific to Kotlin reflection.Lazy<T>Simple value type to delay the creation of an object using aSupplierreturning the produced object for subsequent lookups.Lockprovides more extensive locking operations than can be obtained usingsynchronizedmethods andLock.An acquired lock can be used with try-with-resources for easier releasing.API to record method invocations via method references on a proxy.Deprecated.Interceptor enforcing required return value and method parameter constraints declared on repository query methods.Utility methods to work withOptionals.Pair<S,T> A tuple of things.Deprecated, for removal: This API element is subject to removal in a future version.since 4.0, this class is not intended for public use and will be removed in future versions.Utility methods forStringparsing.Utility methods to work withPredicates.Proxy type detection utilities, extensible viaProxyUtils.ProxyDetectorregistered via Spring factories.SPI to extend Spring's default proxy detection capabilities.AReadWriteLockmaintains a pair of associatedlocks, one for read-only operations and one for writing.Spring Data specific reflection utility methods and classes.AReflectionUtils.FieldFilterfor a given annotation.AReflectionUtils.FieldFilterthat has a description.Streamable<T>Simple interface to ease streamability ofIterables.Spring Data specific JavaStreamutility methods and classes.Collector to inspect domain types and discover the type graph that is relevant for Spring Data operations.Container for reachable types starting from a set of root types.Strategy interface providing predicates to filter types, fields, and methods from being introspected and contributed to AOT processing.A scanner that searches the classpath for matching types within given target packages.Value object to represent a Version consisting of major, minor and bugfix part.
Nullnessfully using JSpecify annotations instead of Spring Framework's own @Nullable and @NonNullApi annotations.