Enum ClassInfo.RelType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ClassInfo.RelType>
    Enclosing class:
    ClassInfo

    static enum ClassInfo.RelType
    extends java.lang.Enum<ClassInfo.RelType>
    How classes are related.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RelType()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ClassInfo.RelType valueOf​(java.lang.String name)
      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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SUPERCLASSES

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType SUBCLASSES
        Subclasses of this class, if this is a regular class.
      • CONTAINS_INNER_CLASS

        public static final ClassInfo.RelType CONTAINS_INNER_CLASS
        Indicates that an inner class is contained within this one.
      • CONTAINED_WITHIN_OUTER_CLASS

        public static final ClassInfo.RelType CONTAINED_WITHIN_OUTER_CLASS
        Indicates that an outer class contains this one. (Should only have zero or one entries.)
      • IMPLEMENTED_INTERFACES

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType CLASSES_IMPLEMENTING
        Classes that implement this interface (including sub-interfaces), if this is an interface.
      • CLASS_ANNOTATIONS

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType CLASSES_WITH_ANNOTATION
        Classes annotated with this annotation, if this is an annotation.
      • METHOD_ANNOTATIONS

        public static final ClassInfo.RelType METHOD_ANNOTATIONS
        Annotations on one or more methods of this class.
      • CLASSES_WITH_METHOD_ANNOTATION

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType METHOD_PARAMETER_ANNOTATIONS
        Annotations on one or more parameters of methods of this class.
      • CLASSES_WITH_METHOD_PARAMETER_ANNOTATION

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType FIELD_ANNOTATIONS
        Annotations on one or more fields of this class.
      • CLASSES_WITH_FIELD_ANNOTATION

        public static final ClassInfo.RelType 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

        public static final ClassInfo.RelType 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 Detail

      • RelType

        private RelType()
    • Method Detail

      • values

        public static ClassInfo.RelType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ClassInfo.RelType c : ClassInfo.RelType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClassInfo.RelType valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null