Modifier and Type | Field and Description |
---|---|
static TokenRange |
TokenRange.INVALID |
Modifier and Type | Method and Description |
---|---|
TokenRange |
JavaToken.toTokenRange() |
TokenRange |
TokenRange.withBegin(JavaToken begin) |
TokenRange |
TokenRange.withEnd(JavaToken end) |
Modifier and Type | Method and Description |
---|---|
Optional<TokenRange> |
Problem.getLocation() |
Constructor and Description |
---|
Problem(String message,
TokenRange location,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Optional<TokenRange> |
Node.getTokenRange() |
Modifier and Type | Method and Description |
---|---|
Node |
Node.setTokenRange(TokenRange tokenRange) |
Constructor and 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.
|
Modifier(TokenRange tokenRange,
Modifier.Keyword keyword)
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 and Description |
---|
AnnotationDeclaration(TokenRange tokenRange,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
SimpleName name,
NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.
|
AnnotationMemberDeclaration(TokenRange tokenRange,
NodeList<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,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.
|
ClassOrInterfaceDeclaration(TokenRange tokenRange,
NodeList<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,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter)
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,
NodeList<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,
NodeList<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,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
Type type,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType> thrownExceptions,
BlockStmt body,
ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.
|
Parameter(TokenRange tokenRange,
NodeList<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.
|
ReceiverParameter(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Type type,
Name name)
This constructor is used by the parser and is considered private.
|
TypeDeclaration(TokenRange tokenRange,
NodeList<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 and 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 and 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,
PatternExpr pattern)
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)
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.
|
PatternExpr(TokenRange tokenRange,
ReferenceType type,
SimpleName name)
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,
Name typeName)
This constructor is used by the parser and is considered private.
|
SwitchExpr(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private.
|
TextBlockLiteralExpr(TokenRange tokenRange,
String value)
This constructor is used by the parser and is considered private.
|
ThisExpr(TokenRange tokenRange,
Name typeName)
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,
NodeList<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
ModuleDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.
|
ModuleDirective(TokenRange tokenRange)
This constructor is used by the parser and is considered private.
|
ModuleExportsDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleOpensDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleProvidesDirective(TokenRange tokenRange,
Name name,
NodeList<Name> with)
This constructor is used by the parser and is considered private.
|
ModuleRequiresDirective(TokenRange tokenRange,
NodeList<Modifier> modifiers,
Name name)
This constructor is used by the parser and is considered private.
|
ModuleUsesDirective(TokenRange tokenRange,
Name name)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
Optional<TokenRange> |
NodeWithTokenRange.getTokenRange() |
Modifier and Type | Method and Description |
---|---|
N |
NodeWithTokenRange.setTokenRange(TokenRange range) |
Constructor and 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.
|
SwitchEntry(TokenRange tokenRange,
NodeList<Expression> labels,
SwitchEntry.Type type,
NodeList<Statement> statements)
This constructor is used by the parser and is considered private.
|
SwitchStmt(TokenRange tokenRange,
Expression selector,
NodeList<SwitchEntry> 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<Expression> 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.
|
YieldStmt(TokenRange tokenRange,
Expression expression)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
Optional<TokenRange> |
ArrayType.ArrayBracketPair.getTokenRange() |
Modifier and Type | Method and Description |
---|---|
ArrayType.ArrayBracketPair |
ArrayType.ArrayBracketPair.setTokenRange(TokenRange range) |
Constructor and Description |
---|
ArrayBracketPair(TokenRange tokenRange,
ArrayType.Origin origin,
NodeList<AnnotationExpr> annotations) |
ArrayType(TokenRange tokenRange,
Type componentType,
ArrayType.Origin origin,
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,
NodeList<AnnotationExpr> annotations)
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.
|
VarType(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 and Description |
---|---|
void |
ProblemReporter.report(TokenRange range,
String message,
Object... args) |
Copyright © 2007–2020. All rights reserved.