package com.dpforge.tellon.core.parser;

public class BlockPosition {

    // zero-based
    private final int line;

    // zero-based
    private final int column;

    private BlockPosition(int line, int column) {
        this.line = line;
        this.column = column;
    }

    /**
     * Zero-based line in source code
     */
    public int getLine() {
        return line;
    }

    /**
     * Zero-based column in source code
     */
    public int getColumn() {
        return column;
    }

    /**
     * Human-readable (1-based) line in source code
     */
    public int getHumanLine() {
        return line + 1;
    }

    /**
     * Human-readable (1-based) column in source code
     */
    public int getHumanColumn() {
        return column + 1;
    }

    @Override
    public String toString() {
        return "{line=" + line + ", column=" + column + "}";
    }

    public static BlockPosition createZeroBased(int line, int column) {
        return new BlockPosition(line, column);
    }

    public static BlockPosition createHumanBased(int line, int column) {
        return new BlockPosition(line - 1, column - 1);
    }
}

@@ -557,32 +557,64 @@
 ce code%0A     */%0A
+    @SuppressWarnings(%22unused%22)%0A
     public int g
@@ -621,32 +621,32 @@
 etHumanLine() %7B%0A
-
         return l
@@ -723,32 +723,64 @@
 ce code%0A     */%0A
+    @SuppressWarnings(%22unused%22)%0A
     public int g
@@ -936,32 +936,64 @@
 n + %22%7D%22;%0A    %7D%0A%0A
+    @SuppressWarnings(%22unused%22)%0A
     public stati

suppress unused