}
private final File sourceFile;
- private final int line;
+ private final int startLine;
private final int column;
private final int endLine;
private boolean noColumn;
LangUtil.throwIaxIfFalse(line <= endLine , line + " > " + endLine);
LangUtil.throwIaxIfFalse(column >= 0, "negative column: " + column);
this.sourceFile = file;
- this.line = line;
+ this.startLine = line;
this.column = column;
this.endLine = endLine;
}
return sourceFile;
}
public int getLine() {
- return line;
+ return startLine;
}
/**
}
public int getEndLine() {
- return line;
+ return endLine;
}
/** @return String {file:}line{:column} */
sb.append(sourceFile.getPath());
sb.append(":");
}
- sb.append("" + line);
+ sb.append("" + startLine);
if (!noColumn) {
sb.append(":" + column);
}