Package io.github.classgraph
Enum ClassInfo.RelType
- All Implemented Interfaces:
Serializable
,Comparable<ClassInfo.RelType>
,java.lang.constant.Constable
- Enclosing class:
ClassInfo
How classes are related.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnnotations on this class, if this is a regular class, or meta-annotations on this annotation, if this is an annotation.Classes that implement this interface (including sub-interfaces), if this is an interface.Classes annotated with this annotation, if this is an annotation.Classes that have one or more fields annotated with this annotation, if this is an annotation.Classes that have one or more methods annotated with this annotation, if this is an annotation.Classes that have one or more methods that have one or more parameters annotated with this annotation, if this is an annotation.Classes that have one or more non-private (inherited) fields annotated with this annotation, if this is an annotation.Classes that have one or more non-private (inherited) methods annotated with this annotation, if this is an annotation.Classes that have one or more non-private (inherited) methods that have one or more parameters annotated with this annotation, if this is an annotation.Indicates that an outer class contains this one.Indicates that an inner class is contained within this one.Annotations on one or more fields of this class.Interfaces that this class implements, if this is a regular class, or superinterfaces, if this is an interface.Annotations on one or more methods of this class.Annotations on one or more parameters of methods of this class.Subclasses of this class, if this is a regular class.Superclasses of this class, if this is a regular class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassInfo.RelType
Returns the enum constant of this type with the specified name.static ClassInfo.RelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUPERCLASSES
Superclasses of this class, if this is a regular class.(Should consist of only one entry, or null if superclass is java.lang.Object or unknown).
-
SUBCLASSES
Subclasses of this class, if this is a regular class. -
CONTAINS_INNER_CLASS
Indicates that an inner class is contained within this one. -
CONTAINED_WITHIN_OUTER_CLASS
Indicates that an outer class contains this one. (Should only have zero or one entries.) -
IMPLEMENTED_INTERFACES
Interfaces that this class implements, if this is a regular class, or superinterfaces, if this is an interface.(May also include annotations, since annotations are interfaces, so you can implement an annotation.)
-
CLASSES_IMPLEMENTING
Classes that implement this interface (including sub-interfaces), if this is an interface. -
CLASS_ANNOTATIONS
Annotations on this class, if this is a regular class, or meta-annotations on this annotation, if this is an annotation. -
CLASSES_WITH_ANNOTATION
Classes annotated with this annotation, if this is an annotation. -
METHOD_ANNOTATIONS
Annotations on one or more methods of this class. -
CLASSES_WITH_METHOD_ANNOTATION
Classes that have one or more methods annotated with this annotation, if this is an annotation. -
CLASSES_WITH_NONPRIVATE_METHOD_ANNOTATION
Classes that have one or more non-private (inherited) methods annotated with this annotation, if this is an annotation. -
METHOD_PARAMETER_ANNOTATIONS
Annotations on one or more parameters of methods of this class. -
CLASSES_WITH_METHOD_PARAMETER_ANNOTATION
Classes that have one or more methods that have one or more parameters annotated with this annotation, if this is an annotation. -
CLASSES_WITH_NONPRIVATE_METHOD_PARAMETER_ANNOTATION
Classes that have one or more non-private (inherited) methods that have one or more parameters annotated with this annotation, if this is an annotation. -
FIELD_ANNOTATIONS
Annotations on one or more fields of this class. -
CLASSES_WITH_FIELD_ANNOTATION
Classes that have one or more fields annotated with this annotation, if this is an annotation. -
CLASSES_WITH_NONPRIVATE_FIELD_ANNOTATION
Classes that have one or more non-private (inherited) fields annotated with this annotation, if this is an annotation.
-
-
Constructor Details
-
RelType
private RelType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-