public boolean isJustBefore ( SourceLocation that ) { if ( ! this . filePath . equals ( that . filePath ) ) { return false ; } return this . getEndLine ( ) == that . getBeginLine ( ) && this . getEndColumn ( ) + 1 == that . getBeginColumn ( ) ; }
Returns true if this location ends one character before the other location starts .