Enum Target

    • Enum Constant Detail

      • METHODS

        public static final Target METHODS
        Each row is a method, written methods.
      • CLASSES

        public static final Target CLASSES
        Each row is a class, written classes; candidates come straight from the class pool.
      • PATHS

        public static final Target PATHS
        Each row is an execution path rather than a single entity, written paths.
      • EVENTS

        public static final Target EVENTS
        Each row is a runtime event recorded while executing, written events.
      • STRINGS

        public static final Target STRINGS
        Each row is a string value observed in the program, written strings.
      • OBJECTS

        public static final Target OBJECTS
        Each row is an object allocated during the run, written objects.
    • Method Detail

      • values

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

        public static Target 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