Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.type |
Modifier and Type | Method | Description |
---|---|---|
static Range |
Range.range(int beginLine,
int beginColumn,
int endLine,
int endColumn) |
|
static Range |
Range.range(Position begin,
Position end) |
|
Range |
Range.withBegin(Position begin) |
|
Range |
Range.withBeginColumn(int column) |
|
Range |
Range.withBeginLine(int line) |
|
Range |
Range.withEnd(Position end) |
|
Range |
Range.withEndColumn(int column) |
|
Range |
Range.withEndLine(int line) |
Modifier and Type | Method | Description |
---|---|---|
Optional<Range> |
JavaToken.getRange() |
|
Optional<Range> |
TokenRange.toRange() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Range.contains(Range other) |
As strictlyContains, but two exactly matching ranges are also considered contained one in each other.
|
void |
JavaToken.setRange(Range range) |
|
boolean |
Range.strictlyContains(Range other) |
Do this strictly contains other? It means that this has to be larger than other and it has to start as other
or before and end as other or after.
|
Constructor | Description |
---|---|
JavaToken(Range range,
int kind,
String text,
JavaToken previousToken,
JavaToken nextToken) |
Modifier and Type | Method | Description |
---|---|---|
Optional<Range> |
Node.getRange() |
Modifier and Type | Method | Description |
---|---|---|
Node |
Node.setRange(Range range) |
Constructor | Description |
---|---|
ArrayCreationExpr(Range range,
Type elementType) |
Deprecated.
range shouldn't be in utility constructors.
|
Modifier and Type | Method | Description |
---|---|---|
Optional<Range> |
NodeWithRange.getRange() |
Modifier and Type | Method | Description |
---|---|---|
N |
NodeWithRange.setRange(Range range) |
Constructor | Description |
---|---|
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound) |
Deprecated.
range shouldn't be in utility constructors.
|
Copyright © 2007–2019. All rights reserved.