Uses of Class
io.microsphere.annotation.Nonnull
-
-
Uses of Nonnull in io.microsphere.beans
Methods in io.microsphere.beans with annotations of type Nonnull Modifier and Type Method Description java.lang.Class<?>BeanProperty. getBeanClass()static BeanMetadataBeanUtils. getBeanMetadata(java.lang.Class<?> beanClass)Get theBeanMetadatafor the specifiedClass.java.lang.StringConfigurationProperty. getDescription()java.beans.PropertyDescriptorBeanProperty. getDescriptor()ConfigurationProperty.MetadataConfigurationProperty. getMetadata()java.lang.StringBeanProperty. getName()java.lang.StringConfigurationProperty. getName()java.util.Collection<java.beans.PropertyDescriptor>BeanMetadata. getPropertyDescriptors()java.util.Map<java.lang.String,java.beans.PropertyDescriptor>BeanMetadata. getPropertyDescriptorsMap()java.util.Set<java.lang.String>ConfigurationProperty.Metadata. getSources()Retrieves the set of sources associated with this configuration property.java.util.Set<java.lang.String>ConfigurationProperty.Metadata. getTargets()Retrieves the set of targets associated with this configuration property.java.lang.StringConfigurationProperty. getType()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.Method parameters in io.microsphere.beans with annotations of type Nonnull Modifier and Type Method Description static BeanMetadataBeanMetadata. of(java.lang.Class<?> beanClass)Create aBeanMetadatainstance from the specified bean class.static BeanPropertyBeanProperty. of(java.lang.Object bean, java.lang.String propertyName)Create aBeanPropertyinstancestatic BeanPropertyBeanProperty. of(java.lang.Object bean, java.lang.String propertyName)Create aBeanPropertyinstancevoidConfigurationProperty. setType(java.lang.Class<?> type)Constructor parameters in io.microsphere.beans with annotations of type Nonnull Constructor Description BeanMetadata(java.lang.Class<?> beanClass)BeanProperty(java.lang.String name, java.lang.Class<?> beanClass, java.beans.PropertyDescriptor descriptor)BeanProperty(java.lang.String name, java.lang.Class<?> beanClass, java.beans.PropertyDescriptor descriptor)BeanProperty(java.lang.String name, java.lang.Class<?> beanClass, java.beans.PropertyDescriptor descriptor) -
Uses of Nonnull in io.microsphere.classloading
Methods in io.microsphere.classloading with annotations of type Nonnull 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)java.lang.StringArtifact. getArtifactId()Get the artifact Idjava.lang.StringMavenArtifact. getGroupId()Get the group id of Maven Artifactjava.net.URL[]AbstractURLClassPathHandle. getURLs(java.lang.ClassLoader classLoader)default java.net.URL[]URLClassPathHandle. getURLs(java.lang.ClassLoader classLoader)Get the Class-Path URLs from the specifiedClassLoaderMethod parameters in io.microsphere.classloading with annotations of type Nonnull Modifier and Type Method Description static ArtifactArtifact. create(java.lang.String artifactId)static ArtifactArtifact. create(java.lang.String artifactId, java.lang.String version)static ArtifactArtifact. create(java.lang.String artifactId, java.lang.String version, java.net.URL location)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URL location)static MavenArtifactMavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URL location)Constructor parameters in io.microsphere.classloading with annotations of type Nonnull Constructor Description Artifact(java.lang.String artifactId, java.lang.String version, java.net.URL location)MavenArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URL location)MavenArtifact(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URL location) -
Uses of Nonnull in io.microsphere.collection
Methods in io.microsphere.collection with annotations of type Nonnull 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.ArrayDeque<E>QueueUtils. newArrayDeque()Creates a new emptyArrayDequeinstance.static <E> java.util.ArrayDeque<E>QueueUtils. newArrayDeque(int initialCapacity)Creates a newArrayDequeinstance with the specified initial capacity.static <E> java.util.ArrayDeque<E>QueueUtils. newArrayDeque(E... elements)Creates a newArrayDequeinstance containing the specified elements.static <E> java.util.ArrayList<E>ListUtils. newArrayList()Creates a new emptyArrayListinstance.static <E> java.util.ArrayList<E>ListUtils. newArrayList(int size)Creates a newArrayListinstance with the specified initial capacity.static <E> java.util.ArrayList<E>ListUtils. newArrayList(java.lang.Iterable<E> values)Creates a newArrayListinstance containing all elements from the specifiedIterable.static <E> java.util.ArrayList<E>ListUtils. newArrayList(java.util.Enumeration<E> values)Creates a newLinkedListinstance from the specifiedEnumeration.static <E> java.util.ArrayList<E>ListUtils. newArrayList(java.util.Iterator<E> iterator)Creates a newArrayListinstance containing all elements from the specifiedIterator.static <K,V>
java.util.concurrent.ConcurrentHashMap<K,V>MapUtils. newConcurrentHashMap()Creates a new emptyConcurrentHashMapwith the default initial capacity (16) and the default load factor (0.75), using the default concurrency level.static <K,V>
java.util.concurrent.ConcurrentHashMap<K,V>MapUtils. newConcurrentHashMap(int initialCapacity)Creates a newConcurrentHashMapwith the specified initial capacity and the default load factor (0.75), using the default concurrency level.static <K,V>
java.util.concurrent.ConcurrentHashMap<K,V>MapUtils. newConcurrentHashMap(int initialCapacity, float loadFactor)Creates a newConcurrentHashMapwith the specified initial capacity and load factor.static <K,V>
java.util.concurrent.ConcurrentHashMap<K,V>MapUtils. newConcurrentHashMap(java.util.Map<? extends K,? extends V> map)Creates a newConcurrentHashMapwith the same mappings as the specified map.static <K,V>
java.util.Map<K,V>MapUtils. newFixedHashMap(int size)Creates a new emptyHashMapwith the specified initial capacity and a fixed load factor.static <E> java.util.Set<E>SetUtils. newFixedHashSet(int size)Creates a new, emptyHashSetwith the specified initial capacity and fixed load factor.static <K,V>
java.util.Map<K,V>MapUtils. newFixedLinkedHashMap(int size)Creates a new emptyLinkedHashMapwith the specified initial capacity and a fixed load factor.static <E> java.util.Set<E>SetUtils. newFixedLinkedHashSet(int size)Creates a new, emptyLinkedHashSetwith the specified initial capacity and fixed load factor.static <K,V>
java.util.HashMap<K,V>MapUtils. newHashMap()Creates a new emptyHashMapwith the default initial capacity (16) and the default load factor (0.75).static <K,V>
java.util.HashMap<K,V>MapUtils. newHashMap(int initialCapacity)Creates a newHashMapwith the specified initial capacity and the default load factor (0.75).static <K,V>
java.util.HashMap<K,V>MapUtils. newHashMap(int initialCapacity, float loadFactor)Creates a newHashMapwith the specified initial capacity and load factor.static <K,V>
java.util.HashMap<K,V>MapUtils. newHashMap(java.util.Map<? extends K,? extends V> map)Creates a newHashMapwith the same mappings as the specified map.static <E> java.util.Set<E>SetUtils. newHashSet()Creates a new, emptyHashSetwith the default initial capacity and load factor.static <E> java.util.Set<E>SetUtils. newHashSet(int initialCapacity)Creates a new, emptyHashSetwith the specified initial capacity and default load factor.static <E> java.util.Set<E>SetUtils. newHashSet(E... elements)Creates a newHashSetcontaining all elements from the provided varargs array.static <E> java.util.Set<E>SetUtils. newHashSet(java.lang.Iterable<E> elements)Creates a newHashSetcontaining all elements from the providedIterable.static <E> java.util.Set<E>SetUtils. newHashSet(java.util.Collection<E> elements)Creates a newHashSetcontaining all elements from the providedCollection.static <K,V>
java.util.LinkedHashMap<K,V>MapUtils. newLinkedHashMap()Creates a new emptyLinkedHashMapwith the default initial capacity (16) and the default load factor (0.75).static <K,V>
java.util.LinkedHashMap<K,V>MapUtils. newLinkedHashMap(int initialCapacity)Creates a newLinkedHashMapwith the specified initial capacity and the default load factor (0.75).static <K,V>
java.util.LinkedHashMap<K,V>MapUtils. newLinkedHashMap(int initialCapacity, float loadFactor)Creates a newLinkedHashMapwith the specified initial capacity and load factor.static <K,V>
java.util.LinkedHashMap<K,V>MapUtils. newLinkedHashMap(int initialCapacity, float loadFactor, boolean accessOrder)Creates a newLinkedHashMapwith the specified initial capacity, load factor, and ordering mode.static <K,V>
java.util.LinkedHashMap<K,V>MapUtils. newLinkedHashMap(java.util.Map<? extends K,? extends V> map)Creates a newLinkedHashMapwith the same mappings as the specified map.static <E> java.util.Set<E>SetUtils. newLinkedHashSet()Creates a new, emptyLinkedHashSetwith the default initial capacity and load factor.static <E> java.util.Set<E>SetUtils. newLinkedHashSet(int initialCapacity)Creates a new, emptyLinkedHashSetwith the specified initial capacity and default load factor.static <E> java.util.Set<E>SetUtils. newLinkedHashSet(int initialCapacity, float loadFactor)Creates a new, emptyLinkedHashSetwith the specified initial capacity and load factor.static <E> java.util.Set<E>SetUtils. newLinkedHashSet(E... elements)Creates a newLinkedHashSetcontaining all elements from the provided varargs array.static <E> java.util.Set<E>SetUtils. newLinkedHashSet(java.util.Collection<E> elements)Creates a newLinkedHashSetcontaining all elements from the providedCollection.static <E> java.util.Set<E>SetUtils. newLinkedHashSet(java.util.Iterator<E> elements)Creates a newLinkedHashSetcontaining all elements from the providedIterator.static <E> java.util.LinkedList<E>ListUtils. newLinkedList()Creates a new emptyLinkedListinstance.static <E> java.util.LinkedList<E>ListUtils. newLinkedList(java.util.Enumeration<E> values)Creates a newLinkedListinstance from the specifiedEnumeration.static <K,V>
java.util.TreeMap<K,V>MapUtils. newTreeMap()Creates a new emptyTreeMapusing natural ordering for the keys.static <K,V>
java.util.TreeMap<K,V>MapUtils. newTreeMap(java.util.Comparator<? super K> comparator)Creates a new emptyTreeMapwith the specified comparator to order the keys.static <K,V>
java.util.TreeMap<K,V>MapUtils. newTreeMap(java.util.Map<? extends K,? extends V> map)Creates a newTreeMapwith the same mappings as the specified map.static <K,V>
java.util.TreeMap<K,V>MapUtils. newTreeMap(java.util.SortedMap<K,? extends V> map)Creates a newTreeMapwith the same mappings as the specified sorted map.static <E> java.util.Enumeration<E>EnumerationUtils. of(E... elements)Creates anEnumerationfrom the provided elements.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.Set<E>SetUtils. of(E... elements)Creates an unmodifiableSetfrom the given varargs array of elements.static <K,V>
java.util.Map.Entry<K,V>MapUtils. ofEntry(K key, V value)Creates an immutableMap.Entrywith the specified key and value.static <E> java.util.Enumeration<E>EnumerationUtils. ofEnumeration(E... elements)Creates anEnumerationfrom the provided elements array.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 <K,V>
java.util.Map<K,V>MapUtils. shallowCloneMap(java.util.Map<K,V> source)Performs a shallow clone of the provided map, creating a new map instance with the same key-value mappings.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.lang.Iterable<E>CollectionUtils. toIterable(java.util.Collection<E> collection)Converts a nullableCollectioninto anIterable.static <E> java.lang.Iterable<E>CollectionUtils. toIterable(java.util.Enumeration<E> enumeration)Converts a nullableEnumerationinto anIterable.static <E> java.lang.Iterable<E>CollectionUtils. toIterable(java.util.Iterator<E> iterator)Converts a nullableIteratorinto anIterable.static <E> java.util.Iterator<E>CollectionUtils. toIterator(java.util.Enumeration<E> enumeration)Converts a nullableEnumerationinto anIterator.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.static <E> java.util.Queue<E>QueueUtils. unmodifiableQueue(java.util.Queue<E> queue)Returns an unmodifiable view of the given queue.Method parameters in io.microsphere.collection with annotations of type Nonnull Modifier and Type Method Description static <K,V>
java.util.Map<K,V>MapUtils. shallowCloneMap(java.util.Map<K,V> source)Performs a shallow clone of the provided map, creating a new map instance with the same key-value mappings. -
Uses of Nonnull in io.microsphere.convert
Methods in io.microsphere.convert with annotations of type Nonnull Modifier and Type Method Description java.nio.charset.CharsetStringToInputStreamConverter. getCharset()Get theCharsetMethod parameters in io.microsphere.convert with annotations of type Nonnull Modifier and Type Method Description protected abstract TAbstractConverter. doConvert(S source)Converts the non-null source-typed value to the target-typed value. -
Uses of Nonnull in io.microsphere.event
Methods in io.microsphere.event with annotations of type Nonnull Modifier and Type Method Description java.util.List<E>Listenable. getAllEventListeners()Get all registeredevent listeners -
Uses of Nonnull in io.microsphere.filter
Methods in io.microsphere.filter with annotations of type Nonnull 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 Nonnull in io.microsphere.io
Methods in io.microsphere.io with annotations of type Nonnull Modifier and Type Method Description <T> java.util.List<Deserializer<T>>Deserializers. get(java.lang.Class<?> deserializedType)Get all instances ofDeserializerby the specified deserialized type<S> java.util.List<Serializer<S>>Serializers. get(java.lang.Class<S> serializedType)Get all instances ofSerializerby the specified serialized typestatic java.io.FileFileUtils. getCanonicalFile(java.io.File file)Returns the canonical form of the specifiedFile.static java.io.File[]FileUtils. listFiles(java.io.File directory)Lists the files in the specified directory. -
Uses of Nonnull in io.microsphere.io.scanner
Methods in io.microsphere.io.scanner with annotations of type Nonnull Modifier and Type Method Description java.util.Set<R>Scanner. scan(S source)Scan source to calculate result setjava.util.Set<R>Scanner. scan(S source, Filter<R> filter)Scan source to calculate result set withFilterjava.util.Set<java.lang.Class<?>>SimpleClassScanner. scan(java.lang.ClassLoader classLoader, java.io.File archiveFile, boolean requiredLoad, java.util.function.Predicate<? super java.lang.Class<?>>... classFilters)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.lang.Class<?>>SimpleClassScanner. scan(java.lang.ClassLoader classLoader, java.net.URL resourceInArchive, boolean requiredLoad, java.util.function.Predicate<? super java.lang.Class<?>>... classFilters)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 Nonnull in io.microsphere.json
Methods in io.microsphere.json with annotations of type Nonnull Modifier and Type Method Description static java.lang.Class<?>JSONUtils. determineElementClass(JSONArray jsonArray)Determines the common class of elements in the givenJSONArray.static JSONArrayJSONUtils. jsonArray(java.lang.String json)Parses a JSON string and returns aJSONArrayrepresentation of it.static JSONObjectJSONUtils. jsonObject(java.lang.String json)Parses a JSON string and returns aJSONObjectrepresentation of it.static <V> VJSONUtils. readValue(JSONObject jsonObject, java.lang.Class<V> targetType)Reads aJSONObjectand converts it into an instance of the specified target type.static <V> VJSONUtils. readValue(java.lang.String json, java.lang.Class<V> targetType)Reads a JSON string and converts it into an instance of the specified target type.static <V> VJSONUtils. readValueAsBean(JSONObject jsonObject, java.lang.Class<V> beanClass)Reads aJSONObjectand converts it into an instance of the specified bean type.static java.lang.StringJSONUtils. writeBeanAsString(java.lang.Object javaBean)Converts a JavaBean object into its JSON string representation. -
Uses of Nonnull in io.microsphere.lang
Methods in io.microsphere.lang with annotations of type Nonnull 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 valueDeprecation.LevelDeprecation. getLevel() -
Uses of Nonnull in io.microsphere.lang.function
Methods in io.microsphere.lang.function with annotations of type Nonnull 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<? super T>Predicates. and(java.util.function.Predicate<? super T>... predicates)Returns a composed predicate that represents a short-circuiting logical AND of the given predicates.static <T> java.util.function.Predicate<T>[]Predicates. emptyArray()Returns an empty array ofPredicateinstances.static <T,S extends java.lang.Iterable<T>>
SStreams. filter(S values, java.util.function.Predicate<? super T> predicate)Filters elements from the givenIterableusing the providedPredicateand returns a collection of the same type as the input, either aListor aSet.static <T,S extends java.lang.Iterable<T>>
SStreams. filterAll(S values, java.util.function.Predicate<? super T>... predicates)Filters elements from the givenIterableusing the combined result of multiple predicates in a logical AND fashion.static <T> java.util.List<T>Streams. filterAllList(T[] values, java.util.function.Predicate<? super T>... predicates)Filters elements from the given array using the combined result of multiple predicates in a logical AND fashion, and returns aListcontaining the matching elements.static <T> java.util.Set<T>Streams. filterAllSet(T[] values, java.util.function.Predicate<? super T>... predicates)Filters elements from the given array using the combined result of multiple predicates in a logical AND fashion, and returns aSetcontaining the matching elements.static <T,S extends java.lang.Iterable<T>>
SStreams. filterAny(S values, java.util.function.Predicate<? super T>... predicates)Filters elements from the givenIterableusing the combined result of multiple predicates in a logical OR fashion.static <T> java.util.List<T>Streams. filterAnyList(T[] values, java.util.function.Predicate<? super T>... predicates)Filters elements from the given array using the combined result of multiple predicates in a logical OR fashion, and returns aListcontaining the matching elements.static <T> java.util.Set<T>Streams. filterAnySet(T[] values, java.util.function.Predicate<? super T>... predicates)Filters elements from the given array using the combined result of multiple predicates in a logical OR fashion, and returns aSetcontaining the matching elements.static <T,S extends java.lang.Iterable<T>>
java.util.List<T>Streams. filterList(S values, java.util.function.Predicate<? super T> predicate)Filters the elements from the givenIterableusing the provided predicate and returns aList.static <T> java.util.List<T>Streams. filterList(T[] values, java.util.function.Predicate<? super T> predicate)Filters the elements from the given array using the provided predicate and returns aList.static <T,S extends java.lang.Iterable<T>>
java.util.Set<T>Streams. filterSet(S values, java.util.function.Predicate<? super T> predicate)Filters elements from the givenIterableusing the providedPredicateand collects the result into a newSetthat maintains insertion order.static <T> java.util.Set<T>Streams. filterSet(T[] values, java.util.function.Predicate<? super T> predicate)Filters the elements from the given array using the provided predicate and returns aSet.static <T,S extends java.lang.Iterable<T>>
java.util.stream.Stream<T>Streams. filterStream(S values, java.util.function.Predicate<? super T> predicate)Filters the elements from the providedIterableusing the given predicate and returns aStream.static <T> java.util.stream.Stream<T>Streams. filterStream(T[] values, java.util.function.Predicate<? super T> predicate)Filters the elements from the provided array using the given predicate and returns aStream.static <T> java.util.function.Predicate<? super T>Predicates. or(java.util.function.Predicate<? super T>... predicates)Returns a composed predicate that represents a short-circuiting logical OR of the given predicates.static <T> java.util.stream.Stream<T>Streams. stream(java.lang.Iterable<T> iterable)Creates a sequentialStreamfrom the givenIterable.static <T> java.util.stream.Stream<T>Streams. stream(T... values)Creates a sequentialStreamfrom the given array of values. -
Uses of Nonnull in io.microsphere.logging
Methods in io.microsphere.logging with annotations of type Nonnull Modifier and Type Method Description protected abstract java.lang.StringLoggerFactory. getDelegateLoggerClassName()The class name of delegate Loggerstatic LoggerLoggerFactory. getLogger(java.lang.Class<?> type)Get an instance ofLoggerby typestatic LoggerLoggerFactory. getLogger(java.lang.String name)Get an instance ofLoggerby name -
Uses of Nonnull in io.microsphere.management
Methods in io.microsphere.management with annotations of type Nonnull Modifier and Type Method Description javax.management.MBeanAttributeInfoMBeanAttribute. getAttributeInfo()static java.lang.management.ClassLoadingMXBeanJmxUtils. getClassLoadingMXBean()Returns the managed bean for the class loading system of the Java virtual machine.static java.util.Optional<java.lang.management.CompilationMXBean>JmxUtils. getCompilationMXBean()Returns the managed bean for the compilation system of the Java virtual machine.javax.management.MBeanInfoMBeanAttribute. getDeclaringMBeanInfo()static java.util.List<java.lang.management.GarbageCollectorMXBean>JmxUtils. getGarbageCollectorMXBeans()Returns a list ofGarbageCollectorMXBeanobjects in the Java virtual machine.static MBeanAttribute[]JmxUtils. getMBeanAttributes(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)Retrieves an array ofMBeanAttributeobjects representing the attributes of the specified MBean.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.lang.management.MemoryMXBeanJmxUtils. getMemoryMXBean()Returns the managed bean for the memory system of 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.java.lang.StringMBeanAttribute. getName()static java.lang.management.OperatingSystemMXBeanJmxUtils. getOperatingSystemMXBean()Returns the managed bean for the operating system on which the Java virtual machine is running.static java.lang.management.RuntimeMXBeanJmxUtils. getRuntimeMXBean()Returns the managed bean for the runtime system of the Java virtual machine.static java.lang.management.ThreadMXBeanJmxUtils. getThreadMXBean()Returns the managed bean for the thread system of the Java virtual machine.java.lang.StringMBeanAttribute. getType()Constructor parameters in io.microsphere.management with annotations of type Nonnull Constructor Description MBeanAttribute(javax.management.MBeanInfo declaringMBeanInfo, javax.management.MBeanAttributeInfo attributeInfo, java.lang.Object value)MBeanAttribute(javax.management.MBeanInfo declaringMBeanInfo, javax.management.MBeanAttributeInfo attributeInfo, java.lang.Object value) -
Uses of Nonnull in io.microsphere.metadata
Methods in io.microsphere.metadata with annotations of type Nonnull Modifier and Type Method Description java.lang.StringConfigurationPropertyGenerator. generate(ConfigurationProperty configurationProperty)Generates a content of the givenConfigurationProperty.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.Constructor parameters in io.microsphere.metadata with annotations of type Nonnull Constructor Description ClassPathResourceConfigurationPropertyLoader(java.lang.String resourceName, boolean loadedAll)ClassPathResourceConfigurationPropertyLoader(java.lang.String resourceName, java.lang.ClassLoader classLoader)ClassPathResourceConfigurationPropertyLoader(java.lang.String resourceName, java.lang.ClassLoader classLoader, boolean loadedAll) -
Uses of Nonnull in io.microsphere.net
Methods in io.microsphere.net with annotations of type Nonnull Modifier and Type Method Description static java.lang.StringURLUtils. buildMatrixString(java.lang.String name, java.lang.String... values)Builds a matrix parameter string in the format ";name=value1;name=value2..." from the provided values.static java.lang.StringURLUtils. buildURI(java.lang.String... paths)Builds a normalized URI path by concatenating the provided path segments with slashes.static java.lang.StringURLUtils. decode(java.lang.String value)Decodes aapplication/x-www-form-urlencodedstring using the default encoding.static java.lang.StringURLUtils. decode(java.lang.String value, java.lang.String encoding)Decodes aapplication/x-www-form-urlencodedstring using a specific encoding scheme.static java.lang.StringURLUtils. encode(java.lang.String value)Encodes the provided string using URL encoding with the default encoding scheme.static java.lang.StringURLUtils. encode(java.lang.String value, java.lang.String encoding)Translates a string intoapplication/x-www-form-urlencodedformat using a specific encoding scheme.static java.util.Set<java.lang.String>ExtendableProtocolURLStreamHandler. getHandlePackages()static java.net.URLURLUtils. ofURL(java.lang.String url)Converts the provided URL string into aURLobject.static java.lang.StringURLUtils. resolveBasePath(java.net.URL url)Resolves the base path from the specified URL.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.lang.StringURLUtils. resolvePath(java.net.URL url)Resolves the path component from the specified URL, excluding any matrix parameters.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.static java.lang.StringURLUtils. toExternalForm(java.net.URL url)Converts the providedURLto its external form as a string, including all components such as protocol, authority, path, matrix parameters, query, and fragment. -
Uses of Nonnull in io.microsphere.process
Methods in io.microsphere.process with annotations of type Nonnull Modifier and Type Method Description java.util.Map<java.lang.Process,java.lang.String>ProcessManager. unfinishedProcessesMap()Unfinished Processes Map -
Uses of Nonnull in io.microsphere.reflect
Fields in io.microsphere.reflect with annotations of type Nonnull Modifier and Type Field Description protected java.lang.StringReflectiveDefinition. classNameprotected java.lang.StringMemberDefinition. namestatic 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 ofObjectprotected java.lang.String[]ExecutableDefinition. parameterClassNamesprotected VersionReflectiveDefinition. sinceMethods in io.microsphere.reflect with annotations of type Nonnull Modifier and Type Method Description static java.util.function.Predicate<? super java.lang.reflect.Method>MethodUtils. excludedDeclaredClass(java.lang.Class<?> declaredClass)Creates aPredicatethat excludes methods declared by the specified class.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 JavaTypeJavaType. from(java.lang.Class<?> targetClass)Creates a JavaType instance representing the specified class.static JavaTypeJavaType. from(java.lang.reflect.Type type)Creates a JavaType instance from the specified Type object.protected static JavaType[]JavaType. from(java.lang.reflect.Type[] types)protected static JavaType[]JavaType. from(java.lang.reflect.Type[] types, JavaType source)protected static JavaTypeJavaType. from(java.lang.reflect.Type type, JavaType source)protected static JavaTypeJavaType. from(java.lang.reflect.Type type, JavaType.Kind kind)protected static JavaTypeJavaType. from(java.lang.reflect.Type type, JavaType.Kind kind, JavaType source)static JavaTypeJavaType. fromField(java.lang.reflect.Field field)Creates a JavaType instance from the givenField.static JavaTypeJavaType. fromMethodParameter(java.lang.reflect.Method method, int parameterIndex)Creates a JavaType instance representing the parameter type of a method at the specified index.static JavaType[]JavaType. fromMethodParameters(java.lang.Class<?> declaredClass, java.lang.String methodName, java.lang.Class<?>... parameterTypes)Creates an array of JavaType instances representing the parameter types of a method with the specified name and parameters.static JavaType[]JavaType. fromMethodParameters(java.lang.reflect.Method method)Creates an array of JavaType instances representing the parameter types of the specified method.static JavaTypeJavaType. fromMethodReturnType(java.lang.Class<?> declaredClass, java.lang.String methodName, java.lang.Class<?>... parameterTypes)Creates a JavaType instance representing the return type of a method with the specified name and parameter types.static JavaTypeJavaType. fromMethodReturnType(java.lang.reflect.Method method)Creates a JavaType instance representing the return type of the specified method.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.lang.Class<?>ReflectionUtils. getCallerClass()Gets theClassof the method caller.static java.lang.StringReflectionUtils. getCallerClassName()Retrieves the fully qualified name of the class that called the method invoking this method.java.lang.StringReflectiveDefinition. getClassName()Get the name of classstatic 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.java.lang.StringMemberDefinition. getDeclaredClassName()Get the declared class namestatic java.util.List<java.lang.reflect.Method>MethodUtils. getDeclaredMethods(java.lang.Class<?> targetClass)Get all declaredmethodsof the target class, excluding the inherited methods.java.lang.StringFieldDefinition. getFieldName()JavaTypeJavaType. getGenericType(int genericTypeIndex)Retrieves the generic type argument at the specified index from this JavaType.JavaType[]JavaType. getGenericTypes()Retrieves the generic type arguments associated with this JavaType.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.JavaTypeJavaType. getInterface(int interfaceIndex)Retrieves the interface at the specified index from the interfaces directly implemented by this type.JavaType[]JavaType. getInterfaces()Retrieves the interfaces directly implemented by the class or type represented by this JavaType.JavaType.KindJavaType. getKind()Retrieves theJavaType.Kindof this JavaType, indicating what sort of type it represents.java.lang.StringMethodDefinition. getMethodName()The method namestatic java.util.List<java.lang.reflect.Method>MethodUtils. getMethods(java.lang.Class<?> targetClass)Get all publicmethodsof the target class, excluding the inherited methods.java.lang.StringMemberDefinition. getName()Get the member namejava.lang.String[]ExecutableDefinition. getParameterClassNames()Get the parameter class namesstatic 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.java.lang.Class<?>[]ExecutableDefinition. getParameterTypes()the class names of parametersstatic java.lang.StringMethodUtils. getSignature(java.lang.reflect.Method method)Generates a string representation of the method signature.VersionReflectiveDefinition. getSince()Get the 'since' versionjava.lang.reflect.TypeJavaType. getType()Retrieves the underlyingTypeobject that this JavaType represents.static java.lang.String[]TypeUtils. getTypeNames(java.lang.reflect.Type... types)Gets the fully qualified type names for all types in the provided array.static <T> TConstructorUtils. newInstance(java.lang.reflect.Constructor<T> constructor, java.lang.Object... args)Creates a new instance by invoking the specifiedConstructorwith the provided arguments.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.lang.reflect.TypeTypeUtils. resolveActualTypeArgument(java.lang.reflect.Type type, java.lang.reflect.Type baseType, int index)Resolves the actual type argument at the specified index from the given type for a base type.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).protected JavaType[]JavaType. resolveGenericTypes()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.static <T> java.util.List<T>ReflectionUtils. toList(java.lang.Object array)Converts an array object into aList.Constructor parameters in io.microsphere.reflect with annotations of type Nonnull Constructor Description ClassDefinition(Version since, Deprecation deprecation, java.lang.String className)ClassDefinition(Version since, Deprecation deprecation, java.lang.String className)ClassDefinition(Version since, java.lang.String className)ClassDefinition(Version since, java.lang.String className)ClassDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className)ClassDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className)ClassDefinition(java.lang.String since, java.lang.String className)ClassDefinition(java.lang.String since, java.lang.String className)ConstructorDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(Version since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ConstructorDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(Version since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)ExecutableDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name, java.lang.String... parameterClassNames)FieldDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(Version since, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(Version since, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(Version since, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String fieldName)FieldDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String fieldName)MemberDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(Version since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(Version since, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(Version since, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(Version since, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, Deprecation deprecation, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name)MemberDefinition(java.lang.String since, java.lang.String declaredClassName, java.lang.String name)ReflectiveDefinition(Version since, Deprecation deprecation, java.lang.String className)ReflectiveDefinition(Version since, Deprecation deprecation, java.lang.String className)ReflectiveDefinition(Version since, java.lang.String className)ReflectiveDefinition(Version since, java.lang.String className)ReflectiveDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className)ReflectiveDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className)ReflectiveDefinition(java.lang.String since, java.lang.String className)ReflectiveDefinition(java.lang.String since, java.lang.String className) -
Uses of Nonnull in io.microsphere.util
Fields in io.microsphere.util with annotations of type Nonnull Modifier and Type Field Description static java.lang.StringClassUtils. ARRAY_SUFFIXSuffix for array class names: "[]"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. WRAPPER_TYPESMethods in io.microsphere.util with annotations of type Nonnull Modifier and Type Method Description static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass)Creates a new instance of the specified Throwable class using its default constructor.static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass, java.lang.Object... args)Creates a new instance of the specified Throwable class using constructor arguments.static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass, java.lang.String message)Creates a new instance of the specified Throwable class with the provided detail message.static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass, java.lang.String message, java.lang.Throwable cause)Creates a new instance of the specified Throwable class with the provided detail message and cause.static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass, java.lang.Throwable cause)Creates a new instance of the specified Throwable class with the provided cause.static <T extends java.lang.Throwable>
TExceptionUtils. create(java.lang.Class<T> throwableClass, java.lang.Throwable cause, java.lang.String messagePattern, java.lang.Object... args)Creates a new instance of the specified Throwable class with a formatted detail message and cause.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.ResourceBundlePropertyResourceBundleUtils. getBundle(java.lang.String baseName)Gets a resource bundle using the specified base name and the default encoding.static java.util.ResourceBundlePropertyResourceBundleUtils. getBundle(java.lang.String baseName, java.lang.String encoding)Retrieves a resource bundle using the specified base name and character encoding.static java.util.ResourceBundlePropertyResourceBundleUtils. getBundle(java.lang.String baseName, java.util.Locale locale, java.lang.ClassLoader classLoader, java.lang.String encoding)Retrieves a resource bundle using the specified base name, locale, class loader, and character encoding.static java.util.ResourceBundlePropertyResourceBundleUtils. getBundle(java.lang.String baseName, java.util.Locale locale, java.lang.String encoding)Retrieves a resource bundle using the specified base name, locale, and character encoding.static java.lang.Class<?>[]ClassUtils. getClasses(java.lang.Object... values)Get thetypesof the specified valuesstatic 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.static java.lang.StringExceptionUtils. getStackTrace(java.lang.Throwable throwable)Gets the stack trace from a Throwable as a String.static java.lang.StackTraceElement[]StackTraceUtils. getStackTrace()Retrieves the stack trace elements for the current thread's call stack.static java.lang.Class[]ClassUtils. getTypes(java.lang.Object... values)Alias ofClassUtils.getTypes(Object...)java.util.List<T>TypeFinder. getTypes()static VersionVersion. getVersion(java.lang.Class<?> targetClass)Class that exposes the version.static <S> SServiceLoaderUtils. loadFirstService(java.lang.Class<S> serviceType)Loads the first instance of the specifiedServiceLoaderservice type using the context class loader.static <S> SServiceLoaderUtils. loadFirstService(java.lang.Class<S> serviceType, boolean cached)Loads the first instance of the specifiedServiceLoaderservice type using the context class loader, with an option to enable or disable caching of the loaded services.static <S> SServiceLoaderUtils. loadFirstService(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader)Loads the first instance of the specifiedServiceLoaderservice type using the providedClassLoader.static <S> SServiceLoaderUtils. loadFirstService(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader, boolean cached)Loads the first instance of the specifiedServiceLoaderservice type using the providedClassLoader, with an option to enable or disable caching of the loaded services.static <S> SServiceLoaderUtils. loadLastService(java.lang.Class<S> serviceType)Loads the last instance of the specifiedServiceLoaderservice type using the context class loader.static <S> SServiceLoaderUtils. loadLastService(java.lang.Class<S> serviceType, boolean cached)Loads the last instance of the specifiedServiceLoaderservice type using the context class loader, with an option to enable or disable caching of the loaded services.static <S> SServiceLoaderUtils. loadLastService(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader)Loads the last instance of the specifiedServiceLoaderservice type using the providedClassLoader.static <S> SServiceLoaderUtils. loadLastService(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader, boolean cached)Loads the last instance of the specifiedServiceLoaderservice type using the providedClassLoader, with an option to enable or disable caching of the loaded services.static <S> S[]ServiceLoaderUtils. loadServices(java.lang.Class<S> serviceType)Loads all implementation instances of the specifiedServiceLoaderservice type using the context class loader.static <S> S[]ServiceLoaderUtils. loadServices(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> S[]ServiceLoaderUtils. loadServices(java.lang.Class<S> serviceType, java.lang.ClassLoader classLoader)Loads all implementation instances of the specifiedServiceLoaderservice type using the providedClassLoader.static <S> S[]ServiceLoaderUtils. loadServices(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.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.static <T> TClassUtils. newInstance(java.lang.Class<T> type, java.lang.Object... args)Creates a new instance of the specified class by finding a suitable constructor that matches the provided arguments and invoking it.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)Creates a new instance ofURLClassLoaderusing the URLs provided in anIterable.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, boolean initializedLoaders)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)Creates a new instance ofURLClassLoaderusing the provided array of URLs and an optional parent ClassLoader.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, boolean initializedLoaders)Create a new instance ofURLClassLoaderstatic java.lang.StringClassUtils. resolvePackageName(java.lang.String className)Resolve the package name from the given class name.static java.net.URLClassLoaderClassLoaderUtils. resolveURLClassLoader(java.lang.ClassLoader classLoader)Resolves or creates aURLClassLoaderinstance from the specified ClassLoader.static java.lang.String[]StringUtils. split(java.lang.String value, char delimiter)Splits the provided String into an array of Strings using the specified char delimiter.static java.lang.String[]StringUtils. split(java.lang.String value, java.lang.String delimiter)Splits the provided String into an array of Strings using the specified String delimiter.static <T extends java.lang.Throwable,TT extends java.lang.Throwable>
TTExceptionUtils. throwTarget(T source, java.lang.Class<TT> thrownType)Throws the given source exception wrapped into the specified target exception type.static java.lang.String[]StringUtils. toStringArray(java.util.Collection<java.lang.String> collection)Convert the givenCollectioninto aStringarray.static <T extends java.lang.Throwable,TT extends java.lang.Throwable>
TTExceptionUtils. wrap(T source, java.lang.Class<TT> thrownType)Wraps the given source exception into a new instance of the specified type.Method parameters in io.microsphere.util with annotations of type Nonnull Modifier and Type Method Description static <E> voidIterableUtils. forEach(java.lang.Iterable<E> elements, java.util.function.Consumer<E> elementConsumer)Iterates over the givenIterableand applies the providedConsumerto each element.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 <E> voidIterableUtils. iterate(java.lang.Iterable<E> elements, java.util.function.Consumer<E> elementConsumer)Iterates over the givenIterableand applies the providedConsumerto each element.static <T> TClassUtils. newInstance(java.lang.Class<T> type, java.lang.Object... args)Creates a new instance of the specified class by finding a suitable constructor that matches the provided arguments and invoking it.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)Creates a new instance ofURLClassLoaderusing the URLs provided in anIterable.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls, java.lang.ClassLoader classLoader)Creates a new instance ofURLClassLoaderusing the URLs provided in anIterable.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, boolean initializedLoaders)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)Creates a new instance ofURLClassLoaderusing the provided array of URLs and an optional parent ClassLoader.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, boolean initializedLoaders)Create a new instance ofURLClassLoader -
Uses of Nonnull in io.microsphere.util.jar
Methods in io.microsphere.util.jar with annotations of type Nonnull 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.
-