Class LoadSourceSectionEvent

java.lang.Object
com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent

public final class LoadSourceSectionEvent extends Object
Represents a source section load event from a LoadSourceSectionListener. Instances of LoadSourceSectionEvent should be neither stored, cached nor hashed. The equality and hashing behavior is undefined.
Since:
0.15
See Also:
  • Method Details

    • getSourceSection

      public SourceSection getSourceSection()
      Returns the loaded source section that caused this event.
      Since:
      0.15
    • getNode

      public Node getNode()
      Returns the instrumentable Truffle node that caused this event.
      Since:
      0.15