public boolean sameLineAndFile(SourcePosition other) {
    return (line == other.line)
        && ((sourceFile == other.sourceFile)
            || ((sourceFile != null) && sourceFile.equals(other.sourceFile)));
  }
Returns whether the lines and files match between this instance and the one given.

@param other {@code non-null;} the instance to compare to
@return {@code true} iff the lines and files match
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/SourcePosition.java