Uses of Class
io.microsphere.annotation.Nullable
-
-
Uses of Nullable in io.microsphere.beans
Methods in io.microsphere.beans with annotations of type Nullable Modifier and Type Method Description java.lang.ObjectBeanProperty. getValue() -
Uses of Nullable in io.microsphere.classloading
Methods in io.microsphere.classloading with annotations of type Nullable Modifier and Type Method Description java.net.URLArtifact. getLocation()Get the location of artifact resourcejava.lang.StringArtifact. getVersion()Get the versionprotected java.io.InputStreamStreamArtifactResourceResolver. readArtifactMetadataDataFromArchiveFile(java.io.File archiveFile)protected java.io.InputStreamStreamArtifactResourceResolver. readArtifactMetadataDataFromDirectory(java.io.File directory)protected java.io.InputStreamStreamArtifactResourceResolver. readArtifactMetadataDataFromFile(java.io.File archiveFile)protected java.io.InputStreamStreamArtifactResourceResolver. readArtifactMetadataDataFromResource(java.net.URL resourceURL, java.lang.ClassLoader classLoader)ArtifactArtifactResourceResolver. resolve(java.net.URL resourceURL)Resolve an instanceArtifactfromthe resourceof artifact.Method parameters in io.microsphere.classloading with annotations of type Nullable Modifier and Type Method Description 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 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, 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)default java.net.URL[]URLClassPathHandle. getURLs(java.lang.ClassLoader classLoader)Get the Class-Path URLs from the specifiedClassLoaderdefault booleanURLClassPathHandle. initializeLoaders(java.lang.ClassLoader classLoader)Initialize the loaders of URL Class-Path fromURLClassLoaderbooleanURLClassPathHandle. removeURL(java.lang.ClassLoader classLoader, java.net.URL url)Remove the Class-PathURLfrom the specifiedClassLoaderbooleanURLClassPathHandle. removeURL(java.lang.ClassLoader classLoader, java.net.URL url)Remove the Class-PathURLfrom the specifiedClassLoaderArtifactArtifactResourceResolver. resolve(java.net.URL resourceURL)Resolve an instanceArtifactfromthe resourceof artifact.Constructor parameters in io.microsphere.classloading with annotations of type Nullable Constructor Description Artifact(java.lang.String artifactId, java.lang.String version, java.net.URL location)Artifact(java.lang.String artifactId, java.lang.String version, java.net.URL location)ArtifactDetector(java.lang.ClassLoader classLoader)BannedArtifactClassLoadingExecutor(java.lang.ClassLoader classLoader)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 Nullable in io.microsphere.collection
Methods in io.microsphere.collection with annotations of type Nullable Modifier and Type Method Description static <T> TCollectionUtils. first(java.lang.Iterable<T> values)Take the first element from the specifiedIterablestatic <T> TCollectionUtils. first(java.util.Collection<T> values)Take the first element from the specified collectionstatic <T> TCollectionUtils. first(java.util.Iterator<T> values)Take the first element from the specifiedstatic <E> java.lang.Iterable<E>CollectionUtils. toIterable(java.util.Collection<E> collection)Method parameters in io.microsphere.collection with annotations of type Nullable Modifier and Type Method Description static <T> intCollectionUtils. addAll(java.util.Collection<T> collection, T... values)Add the multiple values intothe specified collectionstatic booleanCollectionUtils. equals(java.util.Collection<?> one, java.util.Collection<?> another)Compares the specified collection with another, the main implementation referencesAbstractSetstatic booleanCollectionUtils. equals(java.util.Collection<?> one, java.util.Collection<?> another)Compares the specified collection with another, the main implementation referencesAbstractSetstatic <T> TCollectionUtils. first(java.lang.Iterable<T> values)Take the first element from the specifiedIterablestatic <T> TCollectionUtils. first(java.util.Collection<T> values)Take the first element from the specified collectionstatic <T> TCollectionUtils. first(java.util.Iterator<T> values)Take the first element from the specifiedstatic booleanCollectionUtils. isEmpty(java.util.Collection<?> collection)static booleanCollectionUtils. isNotEmpty(java.util.Collection<?> collection)static booleanSetUtils. isSet(java.lang.Iterable<?> elements)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 intCollectionUtils. size(java.lang.Iterable<?> iterable)Get the size of the specifiedIterablestatic intCollectionUtils. size(java.util.Collection<?> collection)Get the size of the specifiedCollectionstatic <E> java.lang.Iterable<E>CollectionUtils. toIterable(java.util.Collection<E> collection)static <E> java.lang.Iterable<E>CollectionUtils. toIterable(java.util.Enumeration<E> enumeration)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) -
Uses of Nullable in io.microsphere.convert
Methods in io.microsphere.convert with annotations of type Nullable Modifier and Type Method Description TAbstractConverter. convert(S source)TConverter. convert(S source)Convert the source-typed value to the target-typed valueprotected abstract TAbstractConverter. doConvert(S source)Converts the non-null source-typed value to the target-typed value.Method parameters in io.microsphere.convert with annotations of type Nullable Modifier and Type Method Description TAbstractConverter. convert(S source)TConverter. convert(S source)Convert the source-typed value to the target-typed value -
Uses of Nullable in io.microsphere.lang
Methods in io.microsphere.lang with annotations of type Nullable Modifier and Type Method Description java.lang.StringClassDataRepository. findClassPath(java.lang.Class<?> type)Find class path under specified class namejava.lang.StringClassDataRepository. findClassPath(java.lang.String className)Find class path under specified class namejava.lang.StringDeprecation. getLink()java.lang.StringDeprecation. getReason()java.lang.StringDeprecation. getReplacement()VersionDeprecation. getSince()Method parameters in io.microsphere.lang with annotations of type Nullable Modifier and Type Method Description Deprecation.BuilderDeprecation.Builder. level(Deprecation.Level level)Deprecation.BuilderDeprecation.Builder. link(java.lang.String link)Deprecation.BuilderDeprecation.Builder. reason(java.lang.String reason)Deprecation.BuilderDeprecation.Builder. replacement(java.lang.String replacement)Deprecation.BuilderDeprecation.Builder. since(Version since)Deprecation.BuilderDeprecation.Builder. since(java.lang.String since) -
Uses of Nullable in io.microsphere.management
Methods in io.microsphere.management with annotations of type Nullable Modifier and Type Method Description static java.util.Optional<java.lang.management.CompilationMXBean>JmxUtils. getCompilationMXBean()Returns the managed bean for the compilation system of the Java virtual machine.Method parameters in io.microsphere.management with annotations of type Nullable Modifier and Type Method Description protected static java.lang.ObjectJmxUtils. doGetAttribute(javax.management.MBeanServer mBeanServer, javax.management.ObjectName objectName, javax.management.MBeanAttributeInfo attributeInfo, java.lang.String attributeName)Constructor parameters in io.microsphere.management with annotations of type Nullable Constructor Description MBeanAttribute(javax.management.MBeanInfo declaringMBeanInfo, javax.management.MBeanAttributeInfo attributeInfo, java.lang.Object value) -
Uses of Nullable in io.microsphere.reflect
Fields in io.microsphere.reflect with annotations of type Nullable Modifier and Type Field Description protected DeprecationReflectiveDefinition. deprecationstatic java.lang.Class<? extends java.lang.Throwable>ReflectionUtils. INACCESSIBLE_OBJECT_EXCEPTION_CLASSTheclassof java.lang.reflect.InaccessibleObjectException since JDK 9.Methods in io.microsphere.reflect with annotations of type Nullable Modifier and Type Method Description JavaTypeJavaType. as(java.lang.Class<?> targetClass)Get the JavaType presenting the target classjava.lang.Class<?>MemberDefinition. getDeclaredClass()Get the declared classDeprecationReflectiveDefinition. getDeprecation()Get the deprecationMMemberDefinition. getMember()Get the member instancejava.lang.reflect.MethodMethodDefinition. getMethod()The resolved methodjava.lang.reflect.TypeJavaType. getRawType()java.lang.Class<?>ReflectiveDefinition. getResolvedClass()Get the resolved classjava.lang.reflect.FieldFieldDefinition. getResolvedField()JavaTypeJavaType. getRootSource()JavaTypeJavaType. getSource()JavaTypeJavaType. getSuperType()<T> java.lang.Class<T>JavaType. toClass()java.lang.reflect.GenericArrayTypeJavaType. toGenericArrayType()java.lang.reflect.ParameterizedTypeJavaType. toParameterizedType()java.lang.reflect.TypeVariableJavaType. toTypeVariable()java.lang.reflect.WildcardTypeJavaType. toWildcardType()Method parameters in io.microsphere.reflect with annotations of type Nullable Modifier and Type Method Description static java.lang.StringTypeUtils. getTypeName(java.lang.reflect.Type type)Get the type name safelystatic java.lang.String[]TypeUtils. getTypeNames(java.lang.reflect.Type... types)Get the type names of the specifiedtypesstatic <R> RMethodUtils. invokeMethod(java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object... arguments)Invokes the underlying method represented by thisMethodobject, on the specified object with the specified parameters.Constructor parameters in io.microsphere.reflect with annotations of type Nullable Constructor Description ClassDefinition(Version since, Deprecation deprecation, java.lang.String className)ClassDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className)FieldDefinition(Version 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)MemberDefinition(Version 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)ReflectiveDefinition(Version since, Deprecation deprecation, java.lang.String className)ReflectiveDefinition(java.lang.String since, Deprecation deprecation, java.lang.String className) -
Uses of Nullable in io.microsphere.util
Fields in io.microsphere.util with annotations of type Nullable Modifier and Type Field Description static java.lang.Class<?>StackTraceUtils. STACK_WALKER_CLASSTheClassof java.lang.StackWalker that was introduced in JDK 9.static java.lang.Class<?>StackTraceUtils. STACK_WALKER_OPTION_CLASSTheClassof java.lang.StackWalker.Option that was introduced in JDK 9.static java.lang.Class<?>StackTraceUtils. STACK_WALKER_STACK_FRAME_CLASSTheClassof java.lang.StackWalker.StackFrame that was introduced in JDK 9.Methods in io.microsphere.util with annotations of type Nullable Modifier and Type Method Description static java.net.URLClassLoaderClassLoaderUtils. findURLClassLoader(java.lang.ClassLoader classLoader)RCompatible. get()static java.lang.ClassLoaderClassLoaderUtils. getCallerClassLoader()Return the ClassLoader from the caller classstatic java.lang.ClassLoaderClassLoaderUtils. getClassLoader(java.lang.Class<?> loadedClass)Get the ClassLoader from the loaded class if present.static java.lang.ClassLoaderClassLoaderUtils. getDefaultClassLoader()Get the default the ClassLoader to use.static java.lang.Class<?>ClassLoaderUtils. loadClass(java.lang.ClassLoader classLoader, java.lang.String className)Loaded specified class name underClassLoaderstatic java.lang.StringClassUtils. resolvePackageName(java.lang.Class<?> targetClass)Resolve package name under specified classstatic java.lang.StringClassUtils. resolvePackageName(java.lang.String className)Resolve package name under specified class nameMethod parameters in io.microsphere.util with annotations of type Nullable Modifier and Type Method Description static voidAssert. assertNoNullElements(java.lang.Iterable<?> elements, java.lang.String message)Assert that a elements contains nonullelements.static voidAssert. assertNoNullElements(java.lang.Iterable<?> elements, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that a elements contains nonullelements.static voidAssert. assertNoNullElements(java.lang.Object[] array, java.lang.String message)Assert that an array contains nonullelements.static voidAssert. assertNoNullElements(java.lang.Object[] array, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that an array contains nonullelements.static voidAssert. assertNotBlank(java.lang.String text, java.lang.String message)Assert that a string is not blank.static voidAssert. assertNotBlank(java.lang.String text, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that a string is not blank.static voidAssert. assertNotEmpty(java.lang.Object[] array, java.lang.String message)Assert that an array contains elements; that is, it must not benulland must contain at least one element.static voidAssert. assertNotEmpty(java.lang.Object[] array, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that an array contains elements; that is, it must not benulland must contain at least one element.static voidAssert. assertNotEmpty(java.lang.String text, java.lang.String message)Assert that a string is not empty ("").static voidAssert. assertNotEmpty(java.lang.String text, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that a string is not empty ("").static voidAssert. assertNotEmpty(java.util.Collection<?> collection, java.lang.String message)Assert that a collection contains elements; that is, it must not benulland must contain at least one element.static voidAssert. assertNotEmpty(java.util.Collection<?> collection, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that a collection contains elements; that is, it must not benulland must contain at least one element.static voidAssert. assertNotEmpty(java.util.Map<?,?> map, java.lang.String message)Assert that a Map contains entries; that is, it must not benulland must contain at least one entry.static voidAssert. assertNotEmpty(java.util.Map<?,?> map, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that a Map contains entries; that is, it must not benulland must contain at least one entry.static voidAssert. assertNotNull(java.lang.Object object, java.lang.String message)Assert that an object is notnull.static voidAssert. assertNotNull(java.lang.Object object, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that an object is notnull.static voidAssert. assertNull(java.lang.Object object, java.lang.String message)Assert that an object isnull.static voidAssert. assertNull(java.lang.Object object, java.util.function.Supplier<java.lang.String> messageSupplier)Assert that an object isnull.static java.util.Set<java.net.URL>ClassLoaderUtils. findAllClassPathURLs(java.lang.ClassLoader classLoader)static java.lang.Class<?>ClassLoaderUtils. findLoadedClass(java.lang.ClassLoader classLoader, java.lang.String className)Find LoadedClassunder specified inheritableClassLoaderstatic java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClasses(java.lang.ClassLoader classLoader, java.lang.Iterable<java.lang.String> classNames)Find LoadedClassunder specified inheritableClassLoaderand class namesstatic java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClasses(java.lang.ClassLoader classLoader, java.lang.String... classNames)Find LoadedClassunder specified inheritableClassLoaderand class namesstatic java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPath(java.lang.ClassLoader classLoader)Find loaded classesSetin class pathstatic java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPath(java.lang.ClassLoader classLoader, java.lang.String classPath)Find loaded classesSetin class pathstatic java.util.Set<java.lang.Class<?>>ClassLoaderUtils. findLoadedClassesInClassPaths(java.lang.ClassLoader classLoader, java.util.Set<java.lang.String> classPaths)Find loaded classesSetin class pathsSetstatic java.net.URLClassLoaderClassLoaderUtils. findURLClassLoader(java.lang.ClassLoader classLoader)static 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.lang.ClassLoaderClassLoaderUtils. getClassLoader(java.lang.Class<?> loadedClass)Get the ClassLoader from the loaded class if present.static java.net.URLClassLoaderUtils. getClassResource(java.lang.ClassLoader classLoader, java.lang.Class<?> type)Get theClassresource URL under specifiedClassstatic java.net.URLClassLoaderUtils. getClassResource(java.lang.ClassLoader classLoader, java.lang.String className)Get theClassresource URL under specifiedClass namestatic 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 java.net.URLClassLoaderUtils. getResource(java.lang.ClassLoader classLoader, ClassLoaderUtils.ResourceType resourceType, java.lang.String resourceName)Get the resource URL under specified resource name and typestatic java.net.URLClassLoaderUtils. getResource(java.lang.ClassLoader classLoader, java.lang.String resourceName)Get the resource URL under specified resource namestatic java.lang.StringClassLoaderUtils. getResourceAsString(java.lang.ClassLoader classLoader, java.lang.String resourceName)Get the content of the specified resource as a String.static java.util.Set<java.net.URL>ClassLoaderUtils. getResources(java.lang.ClassLoader classLoader, ClassLoaderUtils.ResourceType resourceType, java.lang.String resourceName)Get the resource URLs Set under specified resource name and typestatic java.util.Set<java.net.URL>ClassLoaderUtils. getResources(java.lang.ClassLoader classLoader, java.lang.String resourceName)Get the resource URLs list under specified resource namestatic booleanClassLoaderUtils. isLoadedClass(java.lang.ClassLoader classLoader, java.lang.Class<?> type)Check specifiedClassis loaded on specified inheritableClassLoaderstatic booleanClassLoaderUtils. isLoadedClass(java.lang.ClassLoader classLoader, java.lang.String className)Check specifiedclass nameis loaded on specified inheritableClassLoaderstatic booleanClassLoaderUtils. isPresent(java.lang.String className)Test the specified class name is present in thedefault ClassLoaderstatic booleanClassLoaderUtils. isPresent(java.lang.String className, java.lang.ClassLoader classLoader)Test the specified class name is present in theClassLoaderstatic booleanClassLoaderUtils. isPresent(java.lang.String className, java.lang.ClassLoader classLoader)Test the specified class name is present in theClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. loadClass(java.lang.ClassLoader classLoader, java.lang.String className)Loaded specified class name underClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. loadClass(java.lang.ClassLoader classLoader, java.lang.String className)Loaded specified class name underClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. loadClass(java.lang.ClassLoader classLoader, java.lang.String className, boolean cached)Loaded specified class name underClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. loadClass(java.lang.ClassLoader classLoader, java.lang.String className, boolean cached)Loaded specified class name underClassLoaderstatic 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, 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 booleanClassLoaderUtils. removeClassPathURL(java.lang.ClassLoader classLoader, java.net.URL url)static java.lang.Class<?>ClassLoaderUtils. resolveClass(java.lang.String className)Resolve theClassby the specified name in thedefault ClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. resolveClass(java.lang.String className, java.lang.ClassLoader classLoader)Resolve theClassby the specified name andClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. resolveClass(java.lang.String className, java.lang.ClassLoader classLoader)Resolve theClassby the specified name andClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. resolveClass(java.lang.String className, java.lang.ClassLoader classLoader, boolean cached)Resolve theClassby the specified name andClassLoaderstatic java.lang.Class<?>ClassLoaderUtils. resolveClass(java.lang.String className, java.lang.ClassLoader classLoader, boolean cached)Resolve theClassby the specified name andClassLoaderstatic 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.
-