Package io.microsphere.reflect
Class ClassDefinition
- java.lang.Object
-
- io.microsphere.reflect.ReflectiveDefinition
-
- io.microsphere.reflect.ClassDefinition
-
- All Implemented Interfaces:
java.io.Serializable
public class ClassDefinition extends ReflectiveDefinition
The definition class forClass- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
Class,ReflectiveDefinition, Serialized Form
-
-
Field Summary
-
Fields inherited from class io.microsphere.reflect.ReflectiveDefinition
className, deprecation, since
-
-
Constructor Summary
Constructors Constructor Description ClassDefinition(Version since, Deprecation deprecation, 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, java.lang.String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPresent()Whether the member is present-
Methods inherited from class io.microsphere.reflect.ReflectiveDefinition
equals, getClassName, getDeprecation, getResolvedClass, getSince, hashCode, isDeprecated, toString
-
-
-
-
Constructor Detail
-
ClassDefinition
public ClassDefinition(@Nonnull java.lang.String since, @Nonnull java.lang.String className)
- Parameters:
since- the 'since' versionclassName- the name of class
-
ClassDefinition
public ClassDefinition(@Nonnull java.lang.String since, @Nullable Deprecation deprecation, @Nonnull java.lang.String className)
- Parameters:
since- the 'since' versiondeprecation- the deprecationclassName- the name of class
-
ClassDefinition
public ClassDefinition(@Nonnull Version since, @Nonnull java.lang.String className)
- Parameters:
since- the 'since' versionclassName- the name of class
-
ClassDefinition
public ClassDefinition(@Nonnull Version since, @Nullable Deprecation deprecation, @Nonnull java.lang.String className)
- Parameters:
since- the 'since' versiondeprecation- the deprecationclassName- the name of class
-
-
Method Detail
-
isPresent
public final boolean isPresent()
Description copied from class:ReflectiveDefinitionWhether the member is present- Specified by:
isPresentin classReflectiveDefinition- Returns:
trueif present
-
-