Enum DependencyType

    • Enum Constant Detail

      • EXTENDS

        public static final DependencyType EXTENDS
        Extends (superclass)
      • IMPLEMENTS

        public static final DependencyType IMPLEMENTS
        Implements (interface)
      • FIELD_TYPE

        public static final DependencyType FIELD_TYPE
        Field type
      • PARAMETER_TYPE

        public static final DependencyType PARAMETER_TYPE
        Method parameter type
      • RETURN_TYPE

        public static final DependencyType RETURN_TYPE
        Method return type
      • LOCAL_TYPE

        public static final DependencyType LOCAL_TYPE
        Local variable type
      • METHOD_CALL

        public static final DependencyType METHOD_CALL
        Method call target
      • FIELD_ACCESS

        public static final DependencyType FIELD_ACCESS
        Field access target
      • EXCEPTION

        public static final DependencyType EXCEPTION
        Exception type (catch/throws)
      • ANNOTATION

        public static final DependencyType ANNOTATION
        Annotation type
      • ARRAY_COMPONENT

        public static final DependencyType ARRAY_COMPONENT
        Array component type
      • TYPE_CHECK

        public static final DependencyType TYPE_CHECK
        Type cast or instanceof
      • CLASS_LITERAL

        public static final DependencyType CLASS_LITERAL
        Class literal (e.g., SomeClass.class)
      • TYPE_PARAMETER

        public static final DependencyType TYPE_PARAMETER
        Generic type parameter
    • Method Detail

      • values

        public static DependencyType[] 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 (DependencyType c : DependencyType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DependencyType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null