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.PropertyDescriptorBeanProperty. getDescriptor()java.lang.StringBeanProperty. getName()Method parameters in io.microsphere.beans with annotations of type Nonnull Modifier and Type Method Description static BeanPropertyBeanProperty. of(java.lang.Object bean, java.lang.String propertyName)Create aBeanPropertyinstancestatic BeanPropertyBeanProperty. of(java.lang.Object bean, java.lang.String propertyName)Create aBeanPropertyinstanceConstructor 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.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 <E> java.lang.Iterable<E>CollectionUtils. emptyIterable()Get the emptyIterablestatic <E> java.util.Iterator<E>CollectionUtils. emptyIterator()Get the emptyIteratorstatic <E> java.util.Set<E>SetUtils. ofSet(java.util.Enumeration<E> elements)Build a read-onlySetfrom the given elementsstatic <K,V>
java.util.Map<K,V>MapUtils. shallowCloneMap(java.util.Map<K,V> source)Shallow CloneMapstatic <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.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.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.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.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) -
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.logging
Methods in io.microsphere.logging with annotations of type Nonnull Modifier and Type Method Description static 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.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)Get theMBeanAttributesfrom the specified named MBean and its' registeredMBeanServerNote that the array ofMBeanAttributesis the same order ofMBeanInfo.getAttributes()static java.util.Map<java.lang.String,MBeanAttribute>JmxUtils. getMBeanAttributesMap(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName)Get theMapwith the attribute name andMBeanAttributesfrom the specified named MBean and its' registeredMBeanServerstatic 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 a list ofMemoryPoolMXBeanobjects 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.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 parametersMapfrom 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 parametersMapfrom 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.StringReflectiveDefinition. classNameprotected java.lang.StringMemberDefinition. nameprotected java.lang.String[]ExecutableDefinition. parameterClassNamesprotected VersionReflectiveDefinition. sinceMethods in io.microsphere.reflect with annotations of type Nonnull Modifier and Type Method Description static JavaTypeJavaType. from(java.lang.Class<?> targetClass)static JavaTypeJavaType. from(java.lang.reflect.Field field)static JavaTypeJavaType. 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 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. fromMethodParameter(java.lang.reflect.Method method, int parameterIndex)static JavaType[]JavaType. fromMethodParameters(java.lang.reflect.Method method)static JavaTypeJavaType. 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.StringReflectionUtils. getCallerClassName()Get Caller classjava.lang.StringReflectiveDefinition. getClassName()Get the name of classjava.lang.StringMemberDefinition. getDeclaredClassName()Get the declared class namejava.lang.StringFieldDefinition. getFieldName()JavaTypeJavaType. getGenericType(int genericTypeIndex)JavaType[]JavaType. getGenericTypes()JavaTypeJavaType. getInterface(int interfaceIndex)JavaType[]JavaType. getInterfaces()JavaType.KindJavaType. getKind()java.lang.StringMethodDefinition. getMethodName()The method namejava.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)Get theparameterized types(including self-type, super classes and interfaces)java.lang.Class<?>[]ExecutableDefinition. getParameterTypes()the class names of parametersVersionReflectiveDefinition. getSince()Get the 'since' versionjava.lang.reflect.TypeJavaType. getType()static java.lang.String[]TypeUtils. getTypeNames(java.lang.reflect.Type... types)Get the type names of the specifiedtypesstatic java.util.Map<java.lang.String,java.lang.Object>ReflectionUtils. readFieldsAsMap(java.lang.Object object)Read fields value asMapprotected JavaType[]JavaType. resolveGenericTypes()static <T> java.util.List<T>ReflectionUtils. toList(java.lang.Object array)ConvertArrayobject toListConstructor 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 classesSetunder specified inheritableClassLoaderstatic java.util.Map<java.lang.ClassLoader,java.util.Set<java.lang.Class<?>>>ClassLoaderUtils. getAllLoadedClassesMap(java.lang.ClassLoader classLoader)Get all loaded classesMapunder specified inheritableClassLoader,ClassLoaderas key , its loaded classesSetas value.static java.util.Set<java.lang.String>ClassPathUtils. getBootstrapClassPaths()Get Bootstrap Class PathsSetstatic java.util.Set<java.lang.String>ClassPathUtils. getClassPaths()GetClassPathUtils.classPathsstatic java.util.Set<java.lang.ClassLoader>ClassLoaderUtils. getInheritableClassLoaders(java.lang.ClassLoader classLoader)Get all InheritableClassLoadersSet(includingClassLoaderargument)static java.util.Set<java.lang.Class<?>>ClassLoaderUtils. getLoadedClasses(java.lang.ClassLoader classLoader)Get loaded classesSetunder specifiedClassLoader( not all inheritableClassLoaders)static VersionVersion. getVersion(java.lang.Class<?> targetClass)Class that exposes the version.static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls, java.lang.ClassLoader classLoader)Create a new instance ofURLClassLoaderstatic 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)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, boolean initializedLoaders)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. resolveURLClassLoader(java.lang.ClassLoader classLoader)Try to find the instance ofURLClassLoaderfrom the specifiedClassLoader, if it can't be found, it will try to find all theURLof class-paths from the specifiedClassLoader, and then new a instance ofURLClassLoaderupon those urls.Method parameters in io.microsphere.util with annotations of type Nonnull Modifier and Type Method Description static java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls)Create a new instance ofURLClassLoaderstatic java.net.URLClassLoaderClassLoaderUtils. newURLClassLoader(java.lang.Iterable<java.net.URL> urls, java.lang.ClassLoader classLoader)Create a new instance ofURLClassLoaderstatic 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)Create a new instance ofURLClassLoaderstatic 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 static java.util.List<java.util.jar.JarEntry>JarUtils. filter(java.util.jar.JarFile jarFile, JarEntryFilter jarEntryFilter)FilterJarEntrylist fromJarFilestatic java.lang.StringJarUtils. resolveJarAbsolutePath(java.net.URL jarURL)Resolve absolute path from theURLofJarEntrystatic java.lang.StringJarUtils. resolveRelativePath(java.net.URL jarURL)Resolve Relative path from Jar URL
-