Interface SourceEmitter.LineMapSink

  • Enclosing class:
    SourceEmitter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SourceEmitter.LineMapSink
    Receives each provenance-carrying statement's (owning method key, statement, 1-based line).
    • Method Detail

      • record

        void record​(String methodKey,
                    Statement stmt,
                    int line)
        Reports where one statement was emitted.
        Parameters:
        methodKey - name and descriptor of the method the statement belongs to
        stmt - the emitted statement
        line - the 1-based line it was written on