程序包 cn.taketoday.core
@NonNullApi
@NonNullFields
package cn.taketoday.core
Provides core helpers that are not specific to any part of the framework.
-
类说明Common interface for managing aliases.
PathMatcherimplementation for Ant-style path patterns.Tests whether or not a string matches against a pattern via aPattern.The defaultComparatorimplementation returned byAntPathMatcher.getPatternComparator(String).Trims the capacity of this instance's (list or array) to its size.Interface defining a generic contract for attaching and accessing metadata to/from arbitrary objects.Support class forAttributeAccessors, providing a base implementation of all methods.Helper for resolving syntheticbridge Methodsto theMethodbeing bridged.ParameterNameDiscovererimplementation that tries several discoverer delegates in succession.SpecialObjectInputStreamsubclass that resolves class names against a specificClassLoader.This class can be used to parse other classes containing constant definitions in public static final members.Exception thrown when theConstantsclass is asked for an invalid constant name.not a suitable Constructor foundProvides methods to support various naming and other conventions used throughout the framework.Base class for decorating ClassLoaders such asOverridingClassLoaderproviding common handling of excluded packages and classes.Interface to be implemented by decorating proxies, in particular AOP proxies but potentially also custom proxies with decorator semantics.Simple implementation of theAliasRegistryinterface.DefaultMultiValueMap<K,V> Default implementation of theParameterNameDiscovererstrategy interface, using the Java 8 standard reflection mechanism (if available), and falling back to the ASM-basedLocalVariableTableParameterNameDiscovererfor checking debug information in the class file.Helper class for resolving generic types against type variables.Interface to be implemented by transparent resource proxies that need to be considered as equal to the underlying resource, for example for consistent lookup key comparisons.Known Java versions.LinkedMultiValueMap<K,V> Simple implementation ofMultiValueMapthat wraps aLinkedHashMap, storing multiple values in anArrayList.Implementation ofParameterNameDiscovererthat uses the LocalVariableTable information in the method attributes to discover parameter names.MetadataResolver<M,C> Simple strategy interface for resolving a valueDefines the algorithm for searching for metadata-associated methods exhaustively including interfaces and parent classes while also dealing with parameterized methods as well as common scenarios encountered with interface and class-based proxies.A callback interface for metadata lookup on a given method.Helper class that encapsulates the specification of a method parameter, i.e. aMethodorConstructorplus a parameter index and a nested type index for a declared generic type.MultiValueMap<K,V> Extension of theMapinterface that stores multiple values.MultiValueMapAdapter<K,V> Adapts a givenMapto theMultiValueMapcontract.InheritableThreadLocalsubclass that exposes a specified name asNamedInheritableThreadLocal.toString()result (allowing for introspection).ThreadLocalsubclass that exposes a specified name asNamedThreadLocal.toString()result (allowing for introspection).Handy class for wrapping checkedExceptionswith a root cause.Handy class for wrapping runtimeExceptionswith a root cause.Comparatorimplementation forOrderedobjects, sorting by order value ascending, respectively by priority descending.Orderedis an interface that can be implemented by objects that should be orderable, for example in aCollection.Strategy interface to provide an order source for a given object.ClassLoaderthat does not always delegate to the parent loader as normal class loaders do.abstract class to discover parameter names for methods and constructors.Adapter for a Reactive StreamsPublisherto and from an async/reactive type such asCompletableFuture, RxJavaObservable, and others.A registry of adapters to adapt Reactive StreamsPublisherto/from various async/reactive types such asCompletableFuture, RxJavaFlowable, and others.BlockHoundIntegrationfor core classes.Describes the semantics of a reactive type including boolean checks forReactiveTypeDescriptor.isMultiValue(),ReactiveTypeDescriptor.isNoValue(), andReactiveTypeDescriptor.supportsEmpty().ParameterNameDiscovererimplementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag).Encapsulates a JavaType, providing access tosupertypes,interfaces, andgeneric parametersalong with the ability to ultimatelyresolveto aClass.Strategy interface used to resolveTypeVariables.Any object can implement this interface to provide its actualResolvableType.Interface to be implemented by a reloading-aware ClassLoader.Simple strategy interface for resolving a String value.ThrowableSupplier<T,E extends Throwable> A throwable supplier is a functional interface which consists on a single get function which is able to throw an exception.Contextual descriptor about a type to convert from or to.The purpose of this class is to enable capturing and passing a genericType.Base class for YAML factories.Strategy interface used to test if properties match.Callback interface used to process the YAML parsing results.Status returned fromYamlProcessor.DocumentMatcher.matches(java.util.Properties).Method to use for resolving resources.