Uses of Class
io.microsphere.annotation.Immutable
-
-
Uses of Immutable in io.microsphere.beans
Methods in io.microsphere.beans with annotations of type Immutable Modifier and Type Method Description java.util.Collection<java.beans.PropertyDescriptor>BeanMetadata. getPropertyDescriptors()java.util.Map<java.lang.String,java.beans.PropertyDescriptor>BeanMetadata. getPropertyDescriptorsMap()static java.util.Map<java.lang.String,java.lang.Object>BeanUtils. resolvePropertiesAsMap(java.lang.Object bean)Resolves the properties of a given Java Bean and returns them as aMap.static java.util.Map<java.lang.String,java.lang.Object>BeanUtils. resolvePropertiesAsMap(java.lang.Object bean, int maxResolvedDepth)Resolves the properties of a given Java Bean up to a specified maximum depth and returns them as aMap.protected static java.util.Map<java.lang.String,java.lang.Object>BeanUtils. resolvePropertiesAsMap(java.lang.Object bean, MutableInteger resolvedDepth, int maxResolvedDepth)Resolves the properties of a given Java Bean recursively up to a specified maximum depth, tracking the current depth with aMutableInteger, and returns them as aMap. -
Uses of Immutable in io.microsphere.classloading
Classes in io.microsphere.classloading with annotations of type Immutable Modifier and Type Class Description classArtifactRepresents a software artifact with attributes such as artifact ID, version, and location.classMavenArtifactRepresents a Maven software artifact with attributes such as group ID, artifact ID, version, and location.Methods in io.microsphere.classloading with annotations of type Immutable Modifier and Type Method Description java.util.List<Artifact>ArtifactDetector. detect()java.util.List<Artifact>ArtifactDetector. detect(boolean includedJdkLibraries)protected java.util.List<Artifact>ArtifactDetector. detect(java.util.Set<java.net.URL> classPathURLs) -
Uses of Immutable in io.microsphere.collection
Classes in io.microsphere.collection with annotations of type Immutable Modifier and Type Class Description classEmptyDeque<E>An empty and immutableDequeimplementation that throwsUnsupportedOperationExceptionfor methods that attempt to modify the deque, and returns appropriate default values for read-only operations.classEmptyIterable<E>An emptyIterableimplementation that always returns an empty iterator.classEmptyIterator<E>An empty and immutable implementation of theIteratorinterface.classImmutableEntry<K,V>An immutable implementation ofMap.Entrythat stores a fixed key-value pair.classReadOnlyIterator<E>A skeletal implementation of theIteratorinterface, designed to support read-only iteration.classSingletonDeque<E>ADequeimplementation that holds a single, immutable element.classSingletonEnumeration<E>A simple implementation of theEnumerationinterface that contains a single element.classSingletonIterator<E>A specialized read-onlyIteratorimplementation that iterates over a single element.classUnmodifiableDeque<E>An unmodifiable view of aDeque.classUnmodifiableIterator<E>AnIteratorthat is unmodifiable, meaning the elements cannot be removed.classUnmodifiableQueue<E>An unmodifiable view of aQueue.Methods in io.microsphere.collection with annotations of type Immutable Modifier and Type Method Description static <T> java.util.Deque<T>CollectionUtils. emptyDeque()Returns an empty, immutableDequeinstance that throwsUnsupportedOperationExceptionfor all modification operations.static <E> java.util.Deque<E>QueueUtils. emptyDeque()Returns an empty immutable deque instance.static <E> java.lang.Iterable<E>CollectionUtils. emptyIterable()Returns an empty, immutableIterablethat contains no elements.static <E> java.util.Iterator<E>CollectionUtils. emptyIterator()Returns an empty iterator that contains no elements.static <T> java.util.Queue<T>CollectionUtils. emptyQueue()Returns an empty, immutableQueuethat throwsUnsupportedOperationExceptionfor all modification operations.static <E> java.util.Queue<E>QueueUtils. emptyQueue()Returns an empty immutable queue instance.static java.util.Map<java.lang.String,java.lang.Object>PropertiesUtils. flatProperties(java.util.Map<java.lang.String,java.lang.Object> properties)Flattens a nested map of properties into a single-level map.static java.util.Map<java.lang.String,java.lang.Object>MapUtils. flattenMap(java.util.Map<java.lang.String,java.lang.Object> map)Flattens a nested map of properties into a single-level map.static <K,V>
java.util.Map.Entry<K,V>MapUtils. immutableEntry(K key, V value)Creates an immutableMap.Entrywith the specified key and value.static java.util.Map<java.lang.String,java.lang.Object>MapUtils. nestedMap(java.util.Map<java.lang.String,java.lang.Object> map)Converts a flat map with dot-separated keys into a nested map structure.static <E> java.util.List<E>ListUtils. of(E... elements)Creates an immutable list from the given elements.static java.util.MapMapUtils. of(java.lang.Object... values)Creates an immutable map from a varargs array of key-value pairs.static <K,V>
java.util.Map<K,V>MapUtils. of(java.util.Map.Entry<? extends K,? extends V>... entries)Creates an immutable map from the provided array ofMap.Entryobjects.static <K,V>
java.util.Map<K,V>MapUtils. of(K key, V value)Creates an immutable map containing a single key-value pair.static <K,V>
java.util.Map<K,V>MapUtils. of(K key1, V value1, K key2, V value2)Creates an immutable map containing two key-value pairs.static <K,V>
java.util.Map<K,V>MapUtils. of(K key1, V value1, K key2, V value2, K key3, V value3)Creates an immutable map containing three key-value pairs.static <K,V>
java.util.Map<K,V>MapUtils. of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)Creates an immutable map containing four key-value pairs.static <K,V>
java.util.Map<K,V>MapUtils. of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5)Creates an immutable map containing five key-value pairs.static <E> java.util.List<E>Lists. ofList()Returns an empty unmodifiable list.static <E> java.util.List<E>Lists. ofList(E e1)Returns an unmodifiable list containing one element.static <E> java.util.List<E>Lists. ofList(E... elements)Returns an unmodifiable list containing the specified elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2)Returns an unmodifiable list containing two elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3)Returns an unmodifiable list containing three elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3, E e4)Returns an unmodifiable list containing four elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3, E e4, E e5)Returns an unmodifiable list containing five elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7)Returns an unmodifiable list containing seven elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)Returns an unmodifiable list containing eight elements.static <E> java.util.List<E>Lists. ofList(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)Returns an unmodifiable list containing nine elements.static <E> java.util.List<E>ListUtils. ofList(E... elements)Creates an immutable list from the given array of elements.static <E> java.util.List<E>ListUtils. ofList(java.lang.Iterable<E> iterable)Creates an immutable list from the specifiedIterable.static <E> java.util.List<E>ListUtils. ofList(java.util.Enumeration<E> enumeration)Creates an immutable list from the specifiedEnumeration.static <E> java.util.List<E>ListUtils. ofList(java.util.Iterator<E> iterator)Creates an immutable list from the specifiedIterator.static <K,V>
java.util.Map<K,V>Maps. ofMap()Returns an unmodifiable empty map.static <K,V>
java.util.Map<K,V>Maps. ofMap(java.util.Map.Entry<? extends K,? extends V>... entries)Returns an unmodifiable map containing the provided entries.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1)Returns an unmodifiable map containing a single mapping.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2)Returns an unmodifiable map containing two mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3)Returns an unmodifiable map containing three mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)Returns an unmodifiable map containing four mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)Returns an unmodifiable map containing five mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)Returns an unmodifiable map containing six mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)Returns an unmodifiable map containing seven mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8)Returns an unmodifiable map containing eight mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9)Returns an unmodifiable map containing nine mappings.static <K,V>
java.util.Map<K,V>Maps. ofMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10)Returns an unmodifiable map containing ten mappings.static java.util.MapMapUtils. ofMap(java.lang.Object... keyValuePairs)Creates an immutable map from a varargs array of key-value pairs.static <K,V>
java.util.Map<K,V>MapUtils. ofMap(K key, V value)Creates an immutable map containing a single key-value pair.static <E> java.util.Queue<E>QueueUtils. ofQueue(E... elements)Creates an immutable queue containing the specified elements.static <E> java.util.Set<E>Sets. ofSet()Returns an empty unmodifiable set.static <E> java.util.Set<E>Sets. ofSet(E e1)Returns an unmodifiable set containing one element.static <E> java.util.Set<E>Sets. ofSet(E... elements)Returns an unmodifiable set containing the provided elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2)Returns an unmodifiable set containing two elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3)Returns an unmodifiable set containing three elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4)Returns an unmodifiable set containing four elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5)Returns an unmodifiable set containing five elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5, E e6)Returns an unmodifiable set containing six elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5, E e6, E e7)Returns an unmodifiable set containing seven elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8)Returns an unmodifiable set containing eight elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)Returns an unmodifiable set containing nine elements.static <E> java.util.Set<E>Sets. ofSet(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10)Returns an unmodifiable set containing ten elements.static <E> java.util.Set<E>SetUtils. ofSet(E... elements)Creates an unmodifiableSetfrom the given varargs array of elements.static <E> java.util.Set<E>SetUtils. ofSet(java.lang.Iterable<E> elements)Creates an unmodifiableSetfrom the givenIterable.static <T> java.util.Set<T>SetUtils. ofSet(java.util.Collection<T> elements)Creates an unmodifiableSetfrom the givenCollection.static <T> java.util.Set<T>SetUtils. ofSet(java.util.Collection<T> elements, T... others)Creates an unmodifiableSetfrom the givenCollectionand additional varargs elements.static <E> java.util.Set<E>SetUtils. ofSet(java.util.Enumeration<E> elements)Creates an unmodifiableSetfrom the givenEnumeration.static <E> java.util.Deque<E>QueueUtils. singletonDeque(E element)Returns an immutable deque containing only the specified element.static <E> java.util.Enumeration<E>CollectionUtils. singletonEnumeration(E element)Creates a singleton read-onlyEnumerationthat contains only the specified element.static <E> java.lang.Iterable<E>CollectionUtils. singletonIterable(E element)Creates a singletonIterablethat contains only the specified element.static <E> java.util.Iterator<E>CollectionUtils. singletonIterator(E element)Creates a singleton read-onlyIteratorthat contains only the specified element.static <E> java.util.Queue<E>QueueUtils. singletonQueue(E element)Returns an immutable queue containing only the specified element.static <K,V,E>
java.util.Map<K,V>MapUtils. toFixedMap(java.util.Collection<E> values, java.util.function.Function<E,java.util.Map.Entry<K,V>> entryMapper)Converts a collection of elements into an immutable map using the provided function to extract key-value pairs.static <E> java.util.Deque<E>QueueUtils. unmodifiableDeque(java.util.Deque<E> deque)Returns an unmodifiable view of the given deque.static <E> java.util.Iterator<E>CollectionUtils. unmodifiableIterator(java.util.Iterator<E> iterator)Returns an unmodifiable (read-only) view of the given iterator. -
Uses of Immutable in io.microsphere.event
Methods in io.microsphere.event with annotations of type Immutable Modifier and Type Method Description java.util.List<EventListener<?>>AbstractEventDispatcher. getAllEventListeners() -
Uses of Immutable in io.microsphere.filter
Methods in io.microsphere.filter with annotations of type Immutable Modifier and Type Method Description static <E> java.util.List<E>FilterUtils. filter(java.lang.Iterable<E> iterable, Filter<E> filter)FilterIterableobject to Liststatic <E> java.util.List<E>FilterUtils. filter(java.lang.Iterable<E> iterable, FilterOperator filterOperator, Filter<E>... filters)FilterIterableobject to List -
Uses of Immutable in io.microsphere.io
Fields in io.microsphere.io with annotations of type Immutable Modifier and Type Field Description static java.io.File[]FileUtils. EMPTY_FILE_ARRAYAn empty immutableFilearray. -
Uses of Immutable in io.microsphere.io.event
Classes in io.microsphere.io.event with annotations of type Immutable Modifier and Type Class Description classFileChangedEventThe event raised when thefileis changed -
Uses of Immutable in io.microsphere.io.scanner
Methods in io.microsphere.io.scanner with annotations of type Immutable Modifier and Type Method Description java.util.Set<java.lang.Class<?>>SimpleClassScanner. scan(java.lang.ClassLoader classLoader, java.lang.String packageName)It's equal to invokeSimpleClassScanner.scan(ClassLoader, String, boolean, boolean)method withrequiredLoad=falseandrecursive=falsejava.util.Set<java.lang.Class<?>>SimpleClassScanner. scan(java.lang.ClassLoader classLoader, java.lang.String packageName, boolean recursive)It's equal to invokeSimpleClassScanner.scan(ClassLoader, String, boolean, boolean)method withrequiredLoad=falsejava.util.Set<java.lang.Class<?>>SimpleClassScanner. scan(java.lang.ClassLoader classLoader, java.lang.String packageName, boolean recursive, boolean requiredLoad)scanClassset under specified package name or its' sub-packages inClassLoader, ifrequiredLoadindicatestrue, try to load those classes.java.util.Set<java.io.File>SimpleFileScanner. scan(java.io.File rootDirectory, boolean recursive)Scan allFileSetunder root directoryjava.util.Set<java.io.File>SimpleFileScanner. scan(java.io.File rootDirectory, boolean recursive, IOFileFilter ioFileFilter)java.util.Set<java.util.jar.JarEntry>SimpleJarEntryScanner. scan(java.net.URL jarURL, boolean recursive)java.util.Set<java.util.jar.JarEntry>SimpleJarEntryScanner. scan(java.net.URL jarURL, boolean recursive, JarEntryFilter jarEntryFilter)java.util.Set<java.util.jar.JarEntry>SimpleJarEntryScanner. scan(java.util.jar.JarFile jarFile, boolean recursive, JarEntryFilter jarEntryFilter)protected java.util.Set<java.util.jar.JarEntry>SimpleJarEntryScanner. scan(java.util.jar.JarFile jarFile, java.lang.String relativePath, boolean recursive, JarEntryFilter jarEntryFilter) -
Uses of Immutable in io.microsphere.lang
Classes in io.microsphere.lang with annotations of type Immutable Modifier and Type Class Description classClassDataRepositoryA repository class that manages and provides access to classpath and class-related metadata.classDeprecationA serializable class that provides detailed information about deprecation.Methods in io.microsphere.lang with annotations of type Immutable Modifier and Type Method Description java.util.Set<java.lang.String>ClassDataRepository. getAllClassNamesInClassPaths()The set of all class names inclass pathjava.util.Set<java.lang.String>ClassDataRepository. getAllPackageNamesInClassPaths()Get all package names inclass pathsjava.util.Set<java.lang.String>ClassDataRepository. getClassNamesInClassPath(java.lang.String classPath, boolean recursive)Gets class nameSetunder specified class pathjava.util.Set<java.lang.String>ClassDataRepository. getClassNamesInPackage(java.lang.Package onePackage)Gets class nameSetunder specified packagejava.util.Set<java.lang.String>ClassDataRepository. getClassNamesInPackage(java.lang.String packageName)Gets class nameSetunder specified package namejava.util.Map<java.lang.String,java.util.Set<java.lang.String>>ClassDataRepository. getClassPathToClassNamesMap()The map of all class names inclass path, the class path for oneJarFileor classes directory as key , the class names set as value -
Uses of Immutable in io.microsphere.lang.function
Fields in io.microsphere.lang.function with annotations of type Immutable Modifier and Type Field Description static java.util.function.Predicate[]Predicates. EMPTY_PREDICATE_ARRAYAn empty array ofPredicateinstances.Methods in io.microsphere.lang.function with annotations of type Immutable Modifier and Type Method Description static <T> java.util.function.Predicate<T>Predicates. alwaysFalse()Returns aPredicatethat always evaluates tofalse.static <T> java.util.function.Predicate<T>Predicates. alwaysTrue()Returns aPredicatethat always evaluates totrue.static <T> java.util.function.Predicate<T>[]Predicates. emptyArray()Returns an empty array ofPredicateinstances. -
Uses of Immutable in io.microsphere.management
Methods in io.microsphere.management with annotations of type Immutable Modifier and Type Method Description static java.util.List<java.lang.management.GarbageCollectorMXBean>JmxUtils. getGarbageCollectorMXBeans()Returns a list ofGarbageCollectorMXBeanobjects in the Java virtual machine.static java.util.Map<java.lang.String,MBeanAttribute>JmxUtils. getMBeanAttributesMap(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)Retrieves a read-only map of MBean attributes for the specified MBean registered in the given MBeanServer.static java.util.List<java.lang.management.MemoryManagerMXBean>JmxUtils. getMemoryManagerMXBeans()Returns a list ofMemoryManagerMXBeanobjects in the Java virtual machine.static java.util.List<java.lang.management.MemoryPoolMXBean>JmxUtils. getMemoryPoolMXBeans()Returns an unmodifiable list ofMemoryPoolMXBeanobjects representing the memory pools in the Java virtual machine. -
Uses of Immutable in io.microsphere.metadata
Methods in io.microsphere.metadata with annotations of type Immutable Modifier and Type Method Description static java.util.List<ConfigurationProperty>ConfigurationPropertyLoader. loadAll()Loads allConfigurationPropertyinstances by loading and executing all availableConfigurationPropertyLoaderservices via Java SPI mechanism.default java.util.List<ConfigurationProperty>ConfigurationPropertyReader. read(java.io.InputStream inputStream)Reads a list ofConfigurationPropertyobjects from the providedInputStream.default java.util.List<ConfigurationProperty>ConfigurationPropertyReader. read(java.io.Reader reader)Reads a list ofConfigurationPropertyobjects from the providedReader.java.util.List<ConfigurationProperty>ConfigurationPropertyReader. read(java.lang.String content)Reads a list ofConfigurationPropertyobjects from the provided content string. -
Uses of Immutable in io.microsphere.net
Fields in io.microsphere.net with annotations of type Immutable Modifier and Type Field Description static java.net.URL[]URLUtils. EMPTY_URL_ARRAYThe empty array ofURLMethods in io.microsphere.net with annotations of type Immutable Modifier and Type Method Description static java.util.Set<java.lang.String>ExtendableProtocolURLStreamHandler. getHandlePackages()static java.util.Map<java.lang.String,java.util.List<java.lang.String>>URLUtils. resolveMatrixParameters(java.lang.String url)Extracts and resolves matrix parameters from the provided URL string.static java.util.Map<java.lang.String,java.util.List<java.lang.String>>URLUtils. resolveQueryParameters(java.lang.String url)Resolve the query parametersMapfrom specified URL.static java.util.List<java.lang.String>URLUtils. resolveSubProtocols(java.lang.String url)Resolves the list of sub-protocols from the specified URL string.static java.util.List<java.lang.String>URLUtils. resolveSubProtocols(java.net.URL url)Resolves the list of sub-protocols from the specifiedURL. -
Uses of Immutable in io.microsphere.process
Methods in io.microsphere.process with annotations of type Immutable Modifier and Type Method Description java.util.Map<java.lang.Process,java.lang.String>ProcessManager. unfinishedProcessesMap()Unfinished Processes Map -
Uses of Immutable in io.microsphere.reflect
Classes in io.microsphere.reflect with annotations of type Immutable Modifier and Type Class Description classClassDefinitionA concrete implementation ofReflectiveDefinitionrepresenting the definition of a Java class.classConstructorDefinitionThe definition class forConstructorclassExecutableDefinition<E extends java.lang.reflect.Executable>The definition class for Java ReflectionExecutable, which serves as a base class for executable members like methods and constructors.classFieldDefinitionThe definition class ofFieldclassMemberDefinition<M extends java.lang.reflect.Member>The definition class for Java ReflectionMember.classMethodDefinitionThe definition class of JavaMethod, providing a structured way to define and resolve methods by their name, parameter types, and declaring class.classMultipleTypeRepresents a composite type that encapsulates multipleTypeinstances.classReflectiveDefinitionThe abstract definition class for Java Reflection.Fields in io.microsphere.reflect with annotations of type Immutable Modifier and Type Field Description static java.util.List<java.lang.reflect.Method>MethodUtils. OBJECT_DECLARED_METHODSThe declared methods ofObjectstatic java.util.List<java.lang.reflect.Method>MethodUtils. OBJECT_PUBLIC_METHODSThe public methods ofObjectMethods in io.microsphere.reflect with annotations of type Immutable Modifier and Type Method Description static java.util.Set<java.lang.reflect.Field>FieldUtils. findAllDeclaredFields(java.lang.Class<?> declaredClass, java.util.function.Predicate<? super java.lang.reflect.Field>... fieldFilters)Find and return all declared fields in the class hierarchy, optionally filtered by one or more predicates.static java.util.List<java.lang.reflect.Method>MethodUtils. findAllDeclaredMethods(java.lang.Class<?> targetClass, java.util.function.Predicate<? super java.lang.reflect.Method>... methodsToFilter)Retrieves all declared methods directly defined in the specified class, excluding inherited methods.static java.util.Set<java.lang.reflect.Field>FieldUtils. findAllFields(java.lang.Class<?> declaredClass, java.util.function.Predicate<? super java.lang.reflect.Field>... fieldFilters)Find and return all accessible fields in the class hierarchy, optionally filtered by one or more predicates.static java.util.List<java.lang.reflect.Type>TypeUtils. findAllGenericInterfaces(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.Type>... typeFilters)Retrieves all generic interfaces implemented by the given type, including those inherited from its superclasses.static java.util.List<java.lang.reflect.Type>TypeUtils. findAllGenericSuperclasses(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.Type>... typeFilters)Retrieves all generic superclasses of the given type, including its hierarchical superclasses.static java.util.List<java.lang.reflect.Method>MethodUtils. findAllMethods(java.lang.Class<?> targetClass, java.util.function.Predicate<? super java.lang.reflect.Method>... methodsToFilter)Get all publicmethodsof the target class, including the inherited methods.static java.util.List<java.lang.reflect.ParameterizedType>TypeUtils. findAllParameterizedTypes(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.ParameterizedType>... typeFilters)Retrieves all parameterized types associated with the specified type, including those from its hierarchical superclasses and interfaces.static java.util.List<java.lang.reflect.Type>TypeUtils. findAllTypes(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.Type>... typeFilters)Retrieves all types associated with the given type, including: - The type itself (if not a raw Object class) - All generic superclasses - All implemented interfaces (including those from superclasses)static java.util.List<java.lang.reflect.Constructor<?>>ConstructorUtils. findConstructors(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.reflect.Constructor<?>>... constructorFilters)Find public constructors from the specified class that match the given filter conditions.static java.util.List<java.lang.reflect.Constructor<?>>ConstructorUtils. findDeclaredConstructors(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.reflect.Constructor<?>>... constructorFilters)Find declared constructors from the specified class that match the given filter conditions.static java.util.List<java.lang.reflect.Method>MethodUtils. findDeclaredMethods(java.lang.Class<?> targetClass, java.util.function.Predicate<? super java.lang.reflect.Method>... methodsToFilter)Find all declaredmethodsof the target class, excluding the inherited methods.static java.util.List<java.lang.reflect.Type>TypeUtils. findHierarchicalTypes(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.Type>... typeFilters)Retrieves all hierarchical generic types associated with the given type, including its superclasses and interfaces.static java.util.List<java.lang.reflect.Method>MethodUtils. findMethods(java.lang.Class<?> targetClass, boolean includeInheritedTypes, boolean publicOnly, java.util.function.Predicate<? super java.lang.reflect.Method>... methodsToFilter)Find allmethodsof the target class by the specified criteria.static java.util.List<java.lang.reflect.Method>MethodUtils. findMethods(java.lang.Class<?> targetClass, java.util.function.Predicate<? super java.lang.reflect.Method>... methodsToFilter)Find all public methods directly declared in the specified class, without including inherited methods.static java.util.List<java.lang.reflect.ParameterizedType>TypeUtils. findParameterizedTypes(java.lang.reflect.Type type, java.util.function.Predicate<? super java.lang.reflect.ParameterizedType>... typeFilters)Finds the immediate parameterized types associated with the specified type, including those from its direct superclass and implemented interfaces.protected static java.util.List<java.lang.reflect.Type>TypeUtils. findTypes(java.lang.reflect.Type type, boolean includeSelf, boolean includeHierarchicalTypes, boolean includeGenericSuperclass, boolean includeGenericInterfaces, java.util.function.Predicate<? super java.lang.reflect.Type>... typeFilters)static java.util.List<java.lang.reflect.Method>MethodUtils. getAllDeclaredMethods(java.lang.Class<?> targetClass)Get all declaredmethodsof the target class, including the inherited methods.static java.util.List<java.lang.reflect.Type>TypeUtils. getAllGenericInterfaces(java.lang.reflect.Type type)Retrieves all generic interfaces implemented by the given type, including those inherited from its superclasses.static java.util.List<java.lang.reflect.Type>TypeUtils. getAllGenericSuperclasses(java.lang.reflect.Type type)Retrieves all generic superclasses of the given type, including its hierarchical superclasses.static java.util.List<java.lang.reflect.Method>MethodUtils. getAllMethods(java.lang.Class<?> targetClass)Get all publicmethodsof the target class, including the inherited methods.static java.util.List<java.lang.reflect.ParameterizedType>TypeUtils. getAllParameterizedTypes(java.lang.reflect.Type type)Retrieves all parameterized types associated with the specified type, including those from its hierarchical superclasses and interfaces.static java.util.List<java.lang.reflect.Type>TypeUtils. getAllTypes(java.lang.reflect.Type type)Gets all generic types associated with the given type, including: - The type itself (if not a raw Object class) - All generic superclasses - All implemented interfaces (including those from superclasses)static java.util.Set<java.lang.String>TypeUtils. getClassNames(java.lang.Iterable<? extends java.lang.reflect.Type> types)Retrieves the fully qualified class names for all types in the provided iterable.static java.util.List<java.lang.reflect.Method>MethodUtils. getDeclaredMethods(java.lang.Class<?> targetClass)Get all declaredmethodsof the target class, excluding the inherited methods.static java.util.List<java.lang.reflect.Type>TypeUtils. getHierarchicalTypes(java.lang.reflect.Type type)Retrieves all hierarchical generic types associated with the given type, including its superclasses and interfaces.static java.util.List<java.lang.reflect.Method>MethodUtils. getMethods(java.lang.Class<?> targetClass)Get all publicmethodsof the target class, excluding the inherited methods.static java.util.List<java.lang.reflect.ParameterizedType>TypeUtils. getParameterizedTypes(java.lang.reflect.Type type)Retrieves the parameterized types directly associated with the specified type, including the type itself if it is aParameterizedType, and any interfaces or superclasses that are parameterized.static java.util.Map<java.lang.String,java.lang.Object>ReflectionUtils. readFieldsAsMap(java.lang.Object object)Reads all non-static fields of the given object and returns them as a map.static java.util.List<java.lang.Class>TypeUtils. resolveActualTypeArgumentClasses(java.lang.reflect.Type type, java.lang.reflect.Type baseType)Resolves the actual type argument classes used in the specifiedtypefor a given base type (class or interface).static java.util.List<java.lang.reflect.Type>TypeUtils. resolveActualTypeArguments(java.lang.reflect.Type type, java.lang.Class baseClass)Resolves the actual type arguments used in the specifiedtypefor a given base class.static java.util.List<java.lang.reflect.Type>TypeUtils. resolveActualTypeArguments(java.lang.reflect.Type type, java.lang.reflect.Type baseType)Resolves the actual type arguments used in the specifiedtypefor a given base type (class or interface).static java.util.List<java.lang.Class<?>>TypeUtils. resolveTypeArgumentClasses(java.lang.Class<?> targetClass)Resolves and returns the concrete class representations of type arguments used in the given target class.static java.util.List<java.lang.reflect.Type>TypeUtils. resolveTypeArguments(java.lang.Class<?> targetClass)Resolves the actual type arguments from the generic superclass and interfaces for the given target class. -
Uses of Immutable in io.microsphere.util
Classes in io.microsphere.util with annotations of type Immutable Modifier and Type Class Description classVersionRepresents a version number composed of major, minor, and patch components.Fields in io.microsphere.util with annotations of type Immutable Modifier and Type Field Description static java.lang.StringClassUtils. ARRAY_SUFFIXSuffix for array class names: "[]"static java.lang.annotation.Annotation[]AnnotationUtils. EMPTY_ANNOTATION_ARRAYAn empty immutableAnnotationarraystatic java.lang.annotation.Annotation[]ArrayUtils. EMPTY_ANNOTATION_ARRAYAn empty immutableAnnotationarraystatic boolean[]ArrayUtils. EMPTY_BOOLEAN_ARRAYAn empty immutablebooleanarray.static java.lang.Boolean[]ArrayUtils. EMPTY_BOOLEAN_OBJECT_ARRAYAn empty immutableBooleanarray.static byte[]ArrayUtils. EMPTY_BYTE_ARRAYAn empty immutablebytearray.static java.lang.Byte[]ArrayUtils. EMPTY_BYTE_OBJECT_ARRAYAn empty immutableBytearray.static char[]ArrayUtils. EMPTY_CHAR_ARRAYAn empty immutablechararray.static java.lang.Character[]ArrayUtils. EMPTY_CHARACTER_OBJECT_ARRAYAn empty immutableCharacterarray.static java.lang.Class<?>[]ArrayUtils. EMPTY_CLASS_ARRAYAn empty immutableClassarray.static double[]ArrayUtils. EMPTY_DOUBLE_ARRAYAn empty immutabledoublearray.static java.lang.Double[]ArrayUtils. EMPTY_DOUBLE_OBJECT_ARRAYAn empty immutableDoublearray.static java.io.File[]ArrayUtils. EMPTY_FILE_ARRAYAn empty immutableFilearray.static float[]ArrayUtils. EMPTY_FLOAT_ARRAYAn empty immutablefloatarray.static java.lang.Float[]ArrayUtils. EMPTY_FLOAT_OBJECT_ARRAYAn empty immutableFloatarray.static int[]ArrayUtils. EMPTY_INT_ARRAYAn empty immutableintarray.static java.lang.Integer[]ArrayUtils. EMPTY_INTEGER_OBJECT_ARRAYAn empty immutableIntegerarray.static long[]ArrayUtils. EMPTY_LONG_ARRAYAn empty immutablelongarray.static java.lang.Long[]ArrayUtils. EMPTY_LONG_OBJECT_ARRAYAn empty immutableLongarray.static java.lang.Object[]ArrayUtils. EMPTY_OBJECT_ARRAYAn empty immutableObjectarray.static java.lang.reflect.Parameter[]ArrayUtils. EMPTY_PARAMETER_ARRAYAn empty immutableParameterarray.static short[]ArrayUtils. EMPTY_SHORT_ARRAYAn empty immutableshortarray.static java.lang.Short[]ArrayUtils. EMPTY_SHORT_OBJECT_ARRAYAn empty immutableShortarray.static java.lang.String[]ArrayUtils. EMPTY_STRING_ARRAYAn empty immutableStringarray.static java.lang.String[]StringUtils. EMPTY_STRING_ARRAYAn empty array of String.static java.lang.reflect.Type[]ArrayUtils. EMPTY_TYPE_ARRAYAn empty immutableTypearraystatic java.net.URL[]ArrayUtils. EMPTY_URL_ARRAYAn empty immutableURLarray.static java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>>AnnotationUtils. NATIVE_ANNOTATION_TYPESA list of annotation types that are considered native to the Java language.static java.util.Set<java.lang.Class<?>>ClassUtils. PRIMITIVE_ARRAY_TYPESstatic java.util.Set<java.lang.Class<?>>ClassUtils. PRIMITIVE_TYPESstatic java.util.Set<java.lang.Class<?>>ClassUtils. SIMPLE_TYPESSimple Types including:VoidBooleanCharacterByteIntegerFloatDoubleStringBigDecimalBigIntegerDateObjectstatic java.util.Set<java.lang.Class<?>>ClassUtils. WRAPPER_TYPESMethods in io.microsphere.util with annotations of type Immutable Modifier and Type Method Description static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. filterAnnotations(java.lang.annotation.Annotation[] annotations, java.util.function.Predicate<? super java.lang.annotation.Annotation>... annotationsToFilter)Filters the given array of annotations based on the provided predicates.static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. filterAnnotations(java.util.List<java.lang.annotation.Annotation> annotations, java.util.function.Predicate<? super java.lang.annotation.Annotation>... annotationsToFilter)Filters the given list of annotations based on the provided predicates.static java.util.Set<java.lang.Thread>ShutdownHookUtils. filterShutdownHookThreads(java.util.function.Predicate<? super java.lang.Thread> hookThreadFilter)Filters and returns a set of registered JVM shutdown hook threads based on the provided predicate.static java.util.Set<java.lang.Thread>ShutdownHookUtils. filterShutdownHookThreads(java.util.function.Predicate<? super java.lang.Thread> hookThreadFilter, boolean removed)Filters and returns a set of registered JVM shutdown hook threads based on the provided predicate.static java.util.List<java.lang.Class<?>>ClassUtils. findAllClasses(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.Class<?>>... classFilters)Find all classes from the specified type, optionally filtering the results.static java.util.Set<java.net.URL>ClassLoaderUtils. findAllClassPathURLs(java.lang.ClassLoader classLoader)Retrieves all URLs from the class path associated with the specified ClassLoader and its parent hierarchy.static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. findAllDeclaredAnnotations(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.annotation.Annotation>... annotationsToFilter)Retrieves all declared annotations from the specifiedClass, including those from its hierarchy, but excluding meta-annotations (annotations on annotations).static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. findAllDeclaredAnnotations(java.lang.reflect.AnnotatedElement annotatedElement, java.util.function.Predicate<? super java.lang.annotation.Annotation>... annotationsToFilter)Retrieves all declared annotations from the specifiedAnnotatedElement, including those from its hierarchy, but excluding meta-annotations (annotations on annotations).static java.util.List<java.lang.Class<?>>ClassUtils. findAllInheritedClasses(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.Class<?>>... classFilters)Find all inherited classes from the specified type, optionally filtering the results.static java.util.List<java.lang.Class<?>>ClassUtils. findAllInterfaces(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.Class<?>>... interfaceFilters)Find all interfaces from the specified type, optionally filtering the results.static java.util.List<java.lang.Class<?>>ClassUtils. findAllSuperClasses(java.lang.Class<?> type, java.util.function.Predicate<? super java.lang.Class<?>>... classFilters)Find all super classes from the specified type, optionally filtering the results.static java.util.Map<java.lang.String,java.lang.Object>AnnotationUtils. findAttributesMap(java.lang.annotation.Annotation annotation, java.lang.String... attributeNamesToFilter)Retrieves a map of attributes from the specified annotation, filtering by attribute names.static java.util.Map<java.lang.String,java.lang.Object>AnnotationUtils. findAttributesMap(java.lang.annotation.Annotation annotation, java.util.function.Predicate<? super java.lang.reflect.Method>... attributesToFilter)Find the attributes map from the specified annotation by theattribute methodstatic java.util.Set<java.lang.String>ClassUtils. findClassNamesInClassPath(java.io.File classPath, boolean recursive)Finds all class names in the specified class path.static java.util.Set<java.lang.String>ClassUtils. findClassNamesInClassPath(java.lang.String classPath, boolean recursive)Finds all class names in the specified class path.static java.util.Set<java.lang.String>ClassUtils. findClassNamesInDirectory(java.io.File classesDirectory, boolean recursive)Finds all class names in the specified directory.static java.util.Set<java.lang.String>ClassUtils. findClassNamesInJarFile(java.io.File jarFile, boolean recursive)Finds all class names in the specified JAR file.static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. findDeclaredAnnotations(java.lang.reflect.AnnotatedElement annotatedElement, java.util.function.Predicate<? super java.lang.annotation.Annotation>... annotationsToFilter)Retrieves the annotations that are directly declared on the specifiedAnnotatedElement.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClasses(java.lang.ClassLoader classLoader, java.lang.Iterable<java.lang.String> classNames)Finds and returns a set of loaded classes for the given class names using the specified ClassLoader.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClasses(java.lang.ClassLoader classLoader, java.lang.String... classNames)Finds and returns a set of loaded classes for the given class names using the specified ClassLoader.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPath(java.lang.ClassLoader classLoader)Retrieves a set of classes that have been loaded from the class path using the specified ClassLoader or the default one.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPath(java.lang.ClassLoader classLoader, java.lang.String classPath)Retrieves a set of classes that have been loaded from the specified class path using the provided ClassLoader.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPaths(java.lang.ClassLoader classLoader, java.util.Set<java.lang.String> classPaths)Finds and returns a set of classes that have been loaded from the specified class paths using the provided ClassLoader.protected static java.util.List<java.lang.Class<?>>ClassUtils. findTypes(java.lang.Class<?> type, boolean includeSelf, boolean includeHierarchicalTypes, boolean includeGenericSuperclass, boolean includeGenericInterfaces, java.util.function.Predicate<? super java.lang.Class<?>>... typeFilters)Finds types based on the specified criteria.java.util.List<T>TypeFinder. findTypes(java.util.function.Predicate<? super T>... typeFilters)static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. getAllDeclaredAnnotations(java.lang.reflect.AnnotatedElement annotatedElement)Retrieves all declared annotations from the specifiedAnnotatedElement, including those from its hierarchy, but excluding meta-annotations (annotations on annotations).static java.util.List<java.lang.Class<?>>ClassUtils. getAllInheritedClasses(java.lang.Class<?> type)Get all inherited classes from the specified type.static java.util.List<java.lang.Class<?>>ClassUtils. getAllInheritedTypes(java.lang.Class<?> type)Get all inherited types from the specified type.static java.util.List<java.lang.Class<?>>ClassUtils. getAllInterfaces(java.lang.Class<?> type)Get all interfaces from the specified type.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. getAllLoadedClasses(java.lang.ClassLoader classLoader)Retrieves a set of all classes that have been loaded by the specified ClassLoader and its parent hierarchy.static java.util.Map<java.lang.ClassLoader,java.util.Set<java.lang.Class<?>>>ClassLoaderUtils. getAllLoadedClassesMap(java.lang.ClassLoader classLoader)Retrieves a map of ClassLoader instances to their corresponding sets of loaded classes.static java.util.List<java.lang.Class<?>>ClassUtils. getAllSuperClasses(java.lang.Class<?> type)Get all super classes from the specified type.static java.util.Map<java.lang.String,java.lang.Object>AnnotationUtils. getAttributesMap(java.lang.annotation.Annotation annotation)Retrieves a map of attribute names to their corresponding values from the specified annotation.static java.util.Set<java.lang.String>ClassPathUtils. getBootstrapClassPaths()Returns the set of bootstrap class paths.static java.util.Set<java.lang.String>ClassPathUtils. getClassPaths()Returns the set of application class paths.static java.util.List<java.lang.annotation.Annotation>AnnotationUtils. getDeclaredAnnotations(java.lang.reflect.AnnotatedElement annotatedElement)Retrieves the annotations that are directly declared on the specifiedAnnotatedElement.static java.util.Set<java.lang.ClassLoader>ClassLoaderUtils. getInheritableClassLoaders(java.lang.ClassLoader classLoader)Retrieves a set of inheritable ClassLoader instances starting from the specified ClassLoader, including its parent hierarchy.static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. getLoadedClasses(java.lang.ClassLoader classLoader)Retrieves the set of classes that have been loaded by the specified ClassLoader.static java.util.Set<java.net.URL>ClassLoaderUtils. getResources(java.lang.ClassLoader classLoader, ClassLoaderUtils.ResourceType resourceType, java.lang.String resourceName)Retrieves a set of URLs representing resources with the specified type and name using the provided ClassLoader.static java.util.Set<java.net.URL>ClassLoaderUtils. getResources(java.lang.ClassLoader classLoader, java.lang.String resourceName)Retrieves a set of URLs representing resources with the specified name using the provided ClassLoader.static java.util.Queue<java.lang.Runnable>ShutdownHookUtils. getShutdownHookCallbacks()Retrieves an unmodifiableQueuecontaining all registered shutdown hook callbacks.static java.util.Set<java.lang.Thread>ShutdownHookUtils. getShutdownHookThreads()Retrieves an unmodifiable set of all registered JVM shutdown hook threads.java.util.List<T>TypeFinder. getTypes()static <S> java.util.List<S>ServiceLoaderUtils. loadServicesList(java.lang.Class<S> serviceType)Loads all implementation instances of the specifiedServiceLoaderservice type using the context class loader.static <S> java.util.List<S>ServiceLoaderUtils. loadServicesList(java.lang.Class<S> serviceType, boolean cached)Loads all implementation instances of the specifiedServiceLoaderservice type using the context class loader, with an option to enable or disable caching of the loaded services.static <S> java.util.List<S>ServiceLoaderUtils. loadServicesList(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader)Loads all implementation instances of the specifiedServiceLoaderservice type using the providedClassLoader.static <S> java.util.List<S>ServiceLoaderUtils. loadServicesList(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader, boolean cached)Loads all implementation instances of the specifiedServiceLoaderservice type using the providedClassLoader, with an option to enable or disable caching of the loaded services. -
Uses of Immutable in io.microsphere.util.jar
Methods in io.microsphere.util.jar with annotations of type Immutable Modifier and Type Method Description protected static java.util.List<java.util.jar.JarEntry>JarUtils. doFilter(java.lang.Iterable<java.util.jar.JarEntry> jarEntries, JarEntryFilter jarEntryFilter)static java.util.List<java.util.jar.JarEntry>JarUtils. filter(java.util.jar.JarFile jarFile, JarEntryFilter jarEntryFilter)Filters the entries of a JAR file based on the providedJarEntryFilter.
-