Modifier and Type | Field and Description |
---|---|
Range |
JavaToken.range |
Modifier and Type | Method and Description |
---|---|
Range |
JavaToken.getRange() |
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 and Description |
---|---|
Optional<Range> |
Problem.getLocation() |
Optional<Range> |
Problem.getRange()
Deprecated.
use getLocation()
|
Modifier and Type | Method and Description |
---|---|
boolean |
Range.contains(Range other)
As strictlyContains, but two exactly matching ranges are also considered contained one in each other.
|
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 and Description |
---|
JavaToken(Range range,
int kind,
String text) |
Problem(String message,
Range location,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Optional<Range> |
Node.getRange() |
Modifier and Type | Method and Description |
---|---|
Node |
Node.setRange(Range range) |
Constructor and Description |
---|
ArrayCreationLevel(Range range,
Expression dimension,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
CompilationUnit(Range range,
PackageDeclaration packageDeclaration,
NodeList<ImportDeclaration> imports,
NodeList<TypeDeclaration<?>> types,
ModuleDeclaration module)
This constructor is used by the parser and is considered private.
|
ImportDeclaration(Range range,
Name name,
boolean isStatic,
boolean isAsterisk)
This constructor is used by the parser and is considered private.
|
Node(Range range) |
PackageDeclaration(Range range,
NodeList<AnnotationExpr> annotations,
Name name)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
AnnotationDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
AnnotationMemberDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
SimpleName name,
Expression defaultValue)
This constructor is used by the parser and is considered private.
|
BodyDeclaration(Range range)
This supports
EmptyMemberDeclaration . |
BodyDeclaration(Range range,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
CallableDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions)
This constructor is used by the parser and is considered private.
|
ClassOrInterfaceDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
boolean isInterface,
SimpleName name,
NodeList<TypeParameter> typeParameters,
NodeList<ClassOrInterfaceType> extendedTypes,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
ConstructorDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions,
BlockStmt body)
This constructor is used by the parser and is considered private.
|
EmptyMemberDeclaration(Range range)
Deprecated.
This constructor is used by the parser and is considered private.
|
EnumConstantDeclaration(Range range,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> classBody)
This constructor is used by the parser and is considered private.
|
EnumDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<ClassOrInterfaceType> implementedTypes,
NodeList<EnumConstantDeclaration> entries,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
FieldDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
InitializerDeclaration(Range range,
boolean isStatic,
BlockStmt body)
This constructor is used by the parser and is considered private.
|
MethodDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions,
BlockStmt body)
This constructor is used by the parser and is considered private.
|
Parameter(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
NodeList<AnnotationExpr> varArgsAnnotations,
SimpleName name)
This constructor is used by the parser and is considered private.
|
TypeDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
VariableDeclarator(Range range,
Type type,
SimpleName name,
Expression initializer)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
BlockComment(Range range,
String content)
This constructor is used by the parser and is considered private.
|
Comment(Range range,
String content)
This constructor is used by the parser and is considered private.
|
JavadocComment(Range range,
String content)
This constructor is used by the parser and is considered private.
|
LineComment(Range range,
String content)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
AnnotationExpr(Range range,
Name name)
This constructor is used by the parser and is considered private.
|
ArrayAccessExpr(Range range,
Expression name,
Expression index)
This constructor is used by the parser and is considered private.
|
ArrayCreationExpr(Range range,
Type elementType) |
ArrayCreationExpr(Range range,
Type elementType,
NodeList<ArrayCreationLevel> levels,
ArrayInitializerExpr initializer)
This constructor is used by the parser and is considered private.
|
ArrayInitializerExpr(Range range,
NodeList<Expression> values)
This constructor is used by the parser and is considered private.
|
AssignExpr(Range range,
Expression target,
Expression value,
AssignExpr.Operator operator)
This constructor is used by the parser and is considered private.
|
BinaryExpr(Range range,
Expression left,
Expression right,
BinaryExpr.Operator operator)
This constructor is used by the parser and is considered private.
|
BooleanLiteralExpr(Range range,
boolean value)
This constructor is used by the parser and is considered private.
|
CastExpr(Range range,
Type type,
Expression expression)
This constructor is used by the parser and is considered private.
|
CharLiteralExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
ClassExpr(Range range,
Type type)
This constructor is used by the parser and is considered private.
|
ConditionalExpr(Range range,
Expression condition,
Expression thenExpr,
Expression elseExpr)
This constructor is used by the parser and is considered private.
|
DoubleLiteralExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
EnclosedExpr(Range range,
Expression inner)
This constructor is used by the parser and is considered private.
|
Expression(Range range)
This constructor is used by the parser and is considered private.
|
FieldAccessExpr(Range range,
Expression scope,
NodeList<Type> typeArguments,
SimpleName name)
This constructor is used by the parser and is considered private.
|
InstanceOfExpr(Range range,
Expression expression,
ReferenceType<?> type)
This constructor is used by the parser and is considered private.
|
IntegerLiteralExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
LambdaExpr(Range range,
NodeList<Parameter> parameters,
Statement body,
boolean isEnclosingParameters)
This constructor is used by the parser and is considered private.
|
LiteralExpr(Range range)
This constructor is used by the parser and is considered private.
|
LiteralStringValueExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
LongLiteralExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
MarkerAnnotationExpr(Range range,
Name name)
This constructor is used by the parser and is considered private.
|
MemberValuePair(Range range,
SimpleName name,
Expression value)
This constructor is used by the parser and is considered private.
|
MethodCallExpr(Range range,
Expression scope,
NodeList<Type> typeArguments,
SimpleName name,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
MethodReferenceExpr(Range range,
Expression scope,
NodeList<Type> typeArguments,
String identifier)
This constructor is used by the parser and is considered private.
|
Name(Range range,
Name qualifier,
String identifier,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
NameExpr(Range range,
SimpleName name)
This constructor is used by the parser and is considered private.
|
NormalAnnotationExpr(Range range,
Name name,
NodeList<MemberValuePair> pairs)
This constructor is used by the parser and is considered private.
|
NullLiteralExpr(Range range)
This constructor is used by the parser and is considered private.
|
ObjectCreationExpr(Range range,
Expression scope,
ClassOrInterfaceType type,
NodeList<Type> typeArguments,
NodeList<Expression> arguments,
NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.
|
SimpleName(Range range,
String identifier)
This constructor is used by the parser and is considered private.
|
SingleMemberAnnotationExpr(Range range,
Name name,
Expression memberValue)
This constructor is used by the parser and is considered private.
|
StringLiteralExpr(Range range,
String value)
This constructor is used by the parser and is considered private.
|
SuperExpr(Range range,
Expression classExpr)
This constructor is used by the parser and is considered private.
|
ThisExpr(Range range,
Expression classExpr)
This constructor is used by the parser and is considered private.
|
TypeExpr(Range range,
Type type)
This constructor is used by the parser and is considered private.
|
UnaryExpr(Range range,
Expression expression,
UnaryExpr.Operator operator)
This constructor is used by the parser and is considered private.
|
VariableDeclarationExpr(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
ModuleDeclaration(Range range,
NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleStmt> moduleStmts)
This constructor is used by the parser and is considered private.
|
ModuleExportsStmt(Range range,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleOpensStmt(Range range,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleProvidesStmt(Range range,
Type type,
NodeList<Type> withTypes)
This constructor is used by the parser and is considered private.
|
ModuleRequiresStmt(Range range,
EnumSet<Modifier> modifiers,
Name name)
This constructor is used by the parser and is considered private.
|
ModuleStmt(Range range)
This constructor is used by the parser and is considered private.
|
ModuleUsesStmt(Range range,
Type type)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
Optional<Range> |
NodeWithRange.getRange() |
Modifier and Type | Method and Description |
---|---|
N |
NodeWithRange.setRange(Range range) |
Constructor and Description |
---|
AssertStmt(Range range,
Expression check,
Expression message)
This constructor is used by the parser and is considered private.
|
BlockStmt(Range range,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
BreakStmt(Range range,
SimpleName label)
This constructor is used by the parser and is considered private.
|
CatchClause(Range range,
Parameter parameter,
BlockStmt body)
This constructor is used by the parser and is considered private.
|
ContinueStmt(Range range,
SimpleName label)
This constructor is used by the parser and is considered private.
|
DoStmt(Range range,
Statement body,
Expression condition)
This constructor is used by the parser and is considered private.
|
EmptyStmt(Range range)
Deprecated.
This constructor is used by the parser and is considered private.
|
ExplicitConstructorInvocationStmt(Range range,
NodeList<Type> typeArguments,
boolean isThis,
Expression expression,
NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.
|
ExpressionStmt(Range range,
Expression expression)
This constructor is used by the parser and is considered private.
|
ForeachStmt(Range range,
VariableDeclarationExpr variable,
Expression iterable,
Statement body)
This constructor is used by the parser and is considered private.
|
ForStmt(Range range,
NodeList<Expression> initialization,
Expression compare,
NodeList<Expression> update,
Statement body)
This constructor is used by the parser and is considered private.
|
IfStmt(Range range,
Expression condition,
Statement thenStmt,
Statement elseStmt)
This constructor is used by the parser and is considered private.
|
LabeledStmt(Range range,
SimpleName label,
Statement statement)
This constructor is used by the parser and is considered private.
|
LocalClassDeclarationStmt(Range range,
ClassOrInterfaceDeclaration classDeclaration)
This constructor is used by the parser and is considered private.
|
ReturnStmt(Range range,
Expression expression)
This constructor is used by the parser and is considered private.
|
Statement(Range range)
This constructor is used by the parser and is considered private.
|
SwitchEntryStmt(Range range,
Expression label,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
SwitchStmt(Range range,
Expression selector,
NodeList<SwitchEntryStmt> entries)
This constructor is used by the parser and is considered private.
|
SynchronizedStmt(Range range,
Expression expression,
BlockStmt body)
This constructor is used by the parser and is considered private.
|
ThrowStmt(Range range,
Expression expression)
This constructor is used by the parser and is considered private.
|
TryStmt(Range range,
NodeList<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
NodeList<CatchClause> catchClauses,
BlockStmt finallyBlock)
This constructor is used by the parser and is considered private.
|
WhileStmt(Range range,
Expression condition,
Statement body)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
Optional<Range> |
ArrayType.ArrayBracketPair.getRange() |
Modifier and Type | Method and Description |
---|---|
ArrayType.ArrayBracketPair |
ArrayType.ArrayBracketPair.setRange(Range range) |
Constructor and Description |
---|
ArrayBracketPair(Range range,
NodeList<AnnotationExpr> annotations) |
ArrayType(Range range,
Type componentType,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
ClassOrInterfaceType(Range range,
ClassOrInterfaceType scope,
SimpleName name,
NodeList<Type> typeArguments,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
IntersectionType(Range range,
NodeList<ReferenceType<?>> elements)
This constructor is used by the parser and is considered private.
|
PrimitiveType(Range range,
PrimitiveType.Primitive type)
This constructor is used by the parser and is considered private.
|
ReferenceType(Range range,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
Type(Range range)
Several sub classes do not support annotations.
|
Type(Range range,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound) |
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
UnionType(Range range,
NodeList<ReferenceType<?>> elements)
This constructor is used by the parser and is considered private.
|
UnknownType(Range range)
This constructor is used by the parser and is considered private.
|
VoidType(Range range)
This constructor is used by the parser and is considered private.
|
WildcardType(Range range,
ReferenceType extendedType,
ReferenceType superType)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
void |
ProblemReporter.report(Range range,
String message,
Object... args) |
Copyright © 2007–2017. All rights reserved.