/** * Creates a new Position. * * @param startIndex The start index of the AST position. * * @param endIndex The end index of the AST position. */ public Position(final int startIndex, final int endIndex) { this.startIndex = startIndex; this.endIndex = endIndex; assert invariants(); }
/** * Creates a new Position. * * @param startIndex The start index of the AST position. * * @param endIndex The end index of the AST position. */ public Position(final int startIndex, final int endIndex) { this.startIndex = startIndex; this.endIndex = endIndex; assert invariants(); }