Class LineNumberTable

java.lang.Object
dev.archunitjava.model.LineNumberTable

public final class LineNumberTable extends Object
Immutable deterministic line table preserving repeated lines and offsets.
  • Constructor Details

  • Method Details

    • empty

      public static LineNumberTable empty()
    • entries

      public List<LineNumberEntry> entries()
    • lineAt

      public OptionalInt lineAt(int bytecodeOffset)
      Resolves the greatest preceding offset; ties choose the smallest line deterministically.