public class StatementRangesBuilder extends Object
Takes care of rebasing the offset of appended StatementRanges onto the end of the previously accumulated ranges.
Constructor and Description |
---|
StatementRangesBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addEndPosition(Integer endPosition) |
void |
addStartPosition(Integer startPosition) |
void |
append(StatementRanges newStatementRanges) |
StatementRanges |
build() |
public void addEndPosition(Integer endPosition)
public void addStartPosition(Integer startPosition)
public void append(StatementRanges newStatementRanges)
public StatementRanges build()
Copyright © 2018. All rights reserved.