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