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()
java.beans.PropertyDescriptor
BeanProperty. getDescriptor()
java.lang.String
BeanProperty. getName()
Method parameters in io.microsphere.beans with annotations of type Nonnull Modifier and Type Method Description static BeanProperty
BeanProperty. of(java.lang.Object bean, java.lang.String propertyName)
Create aBeanProperty
instancestatic BeanProperty
BeanProperty. of(java.lang.Object bean, java.lang.String propertyName)
Create aBeanProperty
instanceConstructor parameters in io.microsphere.beans with annotations of type Nonnull Constructor Description 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.lang.String
Artifact. getArtifactId()
Get the artifact Idjava.lang.String
MavenArtifact. 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 specifiedClassLoader
Method parameters in io.microsphere.classloading with annotations of type Nonnull Modifier and Type Method Description static Artifact
Artifact. create(java.lang.String artifactId)
static Artifact
Artifact. create(java.lang.String artifactId, java.lang.String version)
static Artifact
Artifact. create(java.lang.String artifactId, java.lang.String version, java.net.URL location)
static MavenArtifact
MavenArtifact. create(java.lang.String groupId, java.lang.String artifactId)
static MavenArtifact
MavenArtifact. create(java.lang.String groupId, java.lang.String artifactId)
static MavenArtifact
MavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
static MavenArtifact
MavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
static MavenArtifact
MavenArtifact. create(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.net.URL location)
static MavenArtifact
MavenArtifact. 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 <E> java.lang.Iterable<E>
CollectionUtils. emptyIterable()
Get the emptyIterable
static <E> java.util.Iterator<E>
CollectionUtils. emptyIterator()
Get the emptyIterator
static <E> java.util.Set<E>
SetUtils. ofSet(java.util.Enumeration<E> elements)
Build a read-onlySet
from the given elementsstatic <K,V>
java.util.Map<K,V>MapUtils. shallowCloneMap(java.util.Map<K,V> source)
Shallow CloneMap
static <E> java.util.Enumeration<E>
CollectionUtils. singletonEnumeration(E element)
static <E> java.lang.Iterable<E>
CollectionUtils. singletonIterable(E element)
static <E> java.util.Iterator<E>
CollectionUtils. singletonIterator(E element)
static <E> java.lang.Iterable<E>
CollectionUtils. toIterable(java.util.Enumeration<E> enumeration)
static <E> java.lang.Iterable<E>
CollectionUtils. toIterable(java.util.Iterator<E> iterator)
static <E> java.util.Iterator<E>
CollectionUtils. toIterator(java.util.Enumeration<E> enumeration)
static <E> java.util.Iterator<E>
CollectionUtils. unmodifiableIterator(java.util.Iterator<E> iterator)
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)
Shallow CloneMap
-
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)
FilterIterable
object to Liststatic <E> java.util.List<E>
FilterUtils. filter(java.lang.Iterable<E> iterable, FilterOperator filterOperator, Filter<E>... filters)
FilterIterable
object to List -
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 withFilter
java.util.Set<java.io.File>
SimpleFileScanner. scan(java.io.File rootDirectory, boolean recursive)
Scan allFile
Set
under 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)
-
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 path
java.util.Set<java.lang.String>
ClassDataRepository. getAllPackageNamesInClassPaths()
Get all package names inclass paths
java.util.Set<java.lang.String>
ClassDataRepository. getClassNamesInClassPath(java.lang.String classPath, boolean recursive)
Gets class nameSet
under specified class pathjava.util.Set<java.lang.String>
ClassDataRepository. getClassNamesInPackage(java.lang.Package onePackage)
Gets class nameSet
under specified packagejava.util.Set<java.lang.String>
ClassDataRepository. getClassNamesInPackage(java.lang.String packageName)
Gets class nameSet
under 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 oneJarFile
or classes directory as key , the class names set as valueDeprecation.Level
Deprecation. getLevel()
-
Uses of Nonnull in io.microsphere.logging
Methods in io.microsphere.logging with annotations of type Nonnull Modifier and Type Method Description static Logger
LoggerFactory. getLogger(java.lang.Class<?> type)
Get an instance ofLogger
by typestatic Logger
LoggerFactory. getLogger(java.lang.String name)
Get an instance ofLogger
by 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.MBeanAttributeInfo
MBeanAttribute. getAttributeInfo()
static java.lang.management.ClassLoadingMXBean
JmxUtils. getClassLoadingMXBean()
Returns the managed bean for the class loading system of the Java virtual machine.javax.management.MBeanInfo
MBeanAttribute. getDeclaringMBeanInfo()
static java.util.List<java.lang.management.GarbageCollectorMXBean>
JmxUtils. getGarbageCollectorMXBeans()
Returns a list ofGarbageCollectorMXBean
objects in the Java virtual machine.static MBeanAttribute[]
JmxUtils. getMBeanAttributes(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)
Get theMBeanAttributes
from the specified named MBean and its' registeredMBeanServer
Note that the array ofMBeanAttributes
is the same order ofMBeanInfo.getAttributes()
static java.util.Map<java.lang.String,MBeanAttribute>
JmxUtils. getMBeanAttributesMap(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)
Get theMap
with the attribute name andMBeanAttributes
from the specified named MBean and its' registeredMBeanServer
static java.util.List<java.lang.management.MemoryManagerMXBean>
JmxUtils. getMemoryManagerMXBeans()
Returns a list ofMemoryManagerMXBean
objects in the Java virtual machine.static java.lang.management.MemoryMXBean
JmxUtils. 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 a list ofMemoryPoolMXBean
objects in the Java virtual machine.java.lang.String
MBeanAttribute. getName()
static java.lang.management.OperatingSystemMXBean
JmxUtils. getOperatingSystemMXBean()
Returns the managed bean for the operating system on which the Java virtual machine is running.static java.lang.management.RuntimeMXBean
JmxUtils. getRuntimeMXBean()
Returns the managed bean for the runtime system of the Java virtual machine.static java.lang.management.ThreadMXBean
JmxUtils. getThreadMXBean()
Returns the managed bean for the thread system of the Java virtual machine.java.lang.String
MBeanAttribute. 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.net
Methods in io.microsphere.net with annotations of type Nonnull Modifier and Type Method Description static java.util.Map<java.lang.String,java.util.List<java.lang.String>>
URLUtils. resolveMatrixParameters(java.lang.String url)
Resolve the matrix parametersMap
from specified URL,The parameter name as key ,parameter value list as keystatic java.util.Map<java.lang.String,java.util.List<java.lang.String>>
URLUtils. resolveQueryParameters(java.lang.String url)
Resolve the query parametersMap
from specified URL,The parameter name as key ,parameter value list as key -
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.String
ReflectiveDefinition. className
protected java.lang.String
MemberDefinition. name
protected java.lang.String[]
ExecutableDefinition. parameterClassNames
protected Version
ReflectiveDefinition. since
Methods in io.microsphere.reflect with annotations of type Nonnull Modifier and Type Method Description static JavaType
JavaType. from(java.lang.Class<?> targetClass)
static JavaType
JavaType. from(java.lang.reflect.Field field)
static JavaType
JavaType. from(java.lang.reflect.Type type)
protected static JavaType[]
JavaType. from(java.lang.reflect.Type[] types)
protected static JavaType[]
JavaType. from(java.lang.reflect.Type[] types, JavaType source)
protected static JavaType
JavaType. from(java.lang.reflect.Type type, JavaType source)
protected static JavaType
JavaType. from(java.lang.reflect.Type type, JavaType.Kind kind)
protected static JavaType
JavaType. from(java.lang.reflect.Type type, JavaType.Kind kind, JavaType source)
static JavaType
JavaType. fromMethodParameter(java.lang.reflect.Method method, int parameterIndex)
static JavaType[]
JavaType. fromMethodParameters(java.lang.reflect.Method method)
static JavaType
JavaType. fromMethodReturnType(java.lang.reflect.Method method)
static java.util.List<java.lang.reflect.ParameterizedType>
TypeUtils. getAllParameterizedTypes(java.lang.reflect.Type type)
Get allparameterized types
(including self-type, super classes and interfaces) hierarchicallystatic java.util.List<java.lang.reflect.Type>
TypeUtils. getAllTypes(java.lang.reflect.Type type)
Get all generic types(including self-type, super classes and interfaces) hierarchically.static java.lang.Class<?>
ReflectionUtils. getCallerClass()
Get caller classstatic java.lang.String
ReflectionUtils. getCallerClassName()
Get Caller classjava.lang.String
ReflectiveDefinition. getClassName()
Get the name of classjava.lang.String
MemberDefinition. getDeclaredClassName()
Get the declared class namejava.lang.String
FieldDefinition. getFieldName()
JavaType
JavaType. getGenericType(int genericTypeIndex)
JavaType[]
JavaType. getGenericTypes()
JavaType
JavaType. getInterface(int interfaceIndex)
JavaType[]
JavaType. getInterfaces()
JavaType.Kind
JavaType. getKind()
java.lang.String
MethodDefinition. getMethodName()
The method namejava.lang.String
MemberDefinition. 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)
Get theparameterized types
(including self-type, super classes and interfaces)java.lang.Class<?>[]
ExecutableDefinition. getParameterTypes()
the class names of parametersVersion
ReflectiveDefinition. getSince()
Get the 'since' versionjava.lang.reflect.Type
JavaType. getType()
static java.lang.String[]
TypeUtils. getTypeNames(java.lang.reflect.Type... types)
Get the type names of the specifiedtypes
static java.util.Map<java.lang.String,java.lang.Object>
ReflectionUtils. readFieldsAsMap(java.lang.Object object)
Read fields value asMap
protected JavaType[]
JavaType. resolveGenericTypes()
static <T> java.util.List<T>
ReflectionUtils. toList(java.lang.Object array)
ConvertArray
object toList
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)
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
Methods in io.microsphere.util with annotations of type Nonnull Modifier and Type Method Description static java.util.Set<java.lang.String>
ClassUtils. findClassNamesInClassPath(java.lang.String classPath, boolean recursive)
Find all class names in class pathstatic java.util.Set<java.lang.Class<?>>
ClassLoaderUtils. getAllLoadedClasses(java.lang.ClassLoader classLoader)
Get all loaded classesSet
under specified inheritableClassLoader
static java.util.Map<java.lang.ClassLoader,java.util.Set<java.lang.Class<?>>>
ClassLoaderUtils. getAllLoadedClassesMap(java.lang.ClassLoader classLoader)
Get all loaded classesMap
under specified inheritableClassLoader
,ClassLoader
as key , its loaded classesSet
as value.static java.util.Set<java.lang.String>
ClassPathUtils. getBootstrapClassPaths()
Get Bootstrap Class PathsSet
static java.util.Set<java.lang.String>
ClassPathUtils. getClassPaths()
GetClassPathUtils.classPaths
static java.util.Set<java.lang.ClassLoader>
ClassLoaderUtils. getInheritableClassLoaders(java.lang.ClassLoader classLoader)
Get all InheritableClassLoaders
Set
(includingClassLoader
argument)static java.util.Set<java.lang.Class<?>>
ClassLoaderUtils. getLoadedClasses(java.lang.ClassLoader classLoader)
Get loaded classesSet
under specifiedClassLoader
( not all inheritableClassLoaders
)static Version
Version. getVersion(java.lang.Class<?> targetClass)
Class that exposes the version.static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls, java.lang.ClassLoader classLoader)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, boolean initializedLoaders)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, boolean initializedLoaders)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. resolveURLClassLoader(java.lang.ClassLoader classLoader)
Try to find the instance ofURLClassLoader
from the specifiedClassLoader
, if it can't be found, it will try to find all theURL
of class-paths from the specifiedClassLoader
, and then new a instance ofURLClassLoader
upon those urls.Method parameters in io.microsphere.util with annotations of type Nonnull Modifier and Type Method Description static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls, java.lang.ClassLoader classLoader)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, boolean initializedLoaders)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
Create a new instance ofURLClassLoader
static java.net.URLClassLoader
ClassLoaderUtils. 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 static java.util.List<java.util.jar.JarEntry>
JarUtils. filter(java.util.jar.JarFile jarFile, JarEntryFilter jarEntryFilter)
FilterJarEntry
list fromJarFile
static java.lang.String
JarUtils. resolveJarAbsolutePath(java.net.URL jarURL)
Resolve absolute path from theURL
ofJarEntry
static java.lang.String
JarUtils. resolveRelativePath(java.net.URL jarURL)
Resolve Relative path from Jar URL
-