int () { if (currentReader.lineReader == null) { StackedReader sr = readers.peek(); if (sr.lineReader == null) { return 0; } else { return sr.lineReader.getLineNumber() + 1; } } return currentReader.lineReader.getLineNumber() + 1; }