Enum Class Graph.NodeEvent

java.lang.Object
java.lang.Enum<Graph.NodeEvent>
jdk.graal.compiler.graph.Graph.NodeEvent
All Implemented Interfaces:
Serializable, Comparable<Graph.NodeEvent>, Constable
Enclosing class:
Graph

public static enum Graph.NodeEvent extends Enum<Graph.NodeEvent>
The type of events sent to a Graph.NodeEventListener.
  • Enum Constant Details

    • INPUT_CHANGED

      public static final Graph.NodeEvent INPUT_CHANGED
      A node's input is changed.
    • ZERO_USAGES

      public static final Graph.NodeEvent ZERO_USAGES
      A node's usages count dropped to zero.
    • NODE_ADDED

      public static final Graph.NodeEvent NODE_ADDED
      A node was added to a graph.
    • NODE_REMOVED

      public static final Graph.NodeEvent NODE_REMOVED
      A node was removed from the graph.
    • BEFORE_DECODING_FIELDS

      public static final Graph.NodeEvent BEFORE_DECODING_FIELDS
      Graph decoding (partial evaluation) may create nodes adding them to the graph in a "stub" form before filling any node fields. We want to observe these events as well. This event is triggered before a "stub" node's fields are decoded and initialized.
    • AFTER_DECODING_FIELDS

      public static final Graph.NodeEvent AFTER_DECODING_FIELDS
      Graph decoding (partial evaluation) may create nodes adding them to the graph in a "stub" form before filling any node fields. We want to observe these events as well. This event is triggered after a "stub" node's fields are decoded and populated i.e. when the node is no longer a stub.
  • Method Details

    • values

      public static Graph.NodeEvent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Graph.NodeEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null