Enum MethodGraph.Node.Sort

    • Enum Constant Detail

      • VISIBLE

        public static final MethodGraph.Node.Sort VISIBLE
        Represents a resolved node that was made visible by a visibility bridge.
      • RESOLVED

        public static final MethodGraph.Node.Sort RESOLVED
        Represents a resolved node that was not made visible by a visibility bridge.
      • AMBIGUOUS

        public static final MethodGraph.Node.Sort AMBIGUOUS
        Represents an ambiguous node, i.e. a node that might refer to several methods.
    • Method Detail

      • values

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

        public static MethodGraph.Node.Sort 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
      • isResolved

        public boolean isResolved()
        Verifies if this sort represents a resolved node.
        Returns:
        true if this sort represents a resolved node.
      • isUnique

        public boolean isUnique()
        Verifies if this sort represents a non-ambiguous node.
        Returns:
        true if this sort represents a non-ambiguous node.
      • isMadeVisible

        public boolean isMadeVisible()
        Verifies if this sort represents a node that was made visible by a visibility bridge.
        Returns:
        true if this sort represents a node that was made visible by a visibility bridge.