Modifier and Type | Field | Description |
---|---|---|
static ParseStart<Name> |
ParseStart.NAME |
Modifier and Type | Method | Description |
---|---|---|
static Name |
JavaParser.parseName(String qualifiedName) |
Parses a qualified name (one that can have "."s in it) and returns it as a Name.
|
Modifier and Type | Method | Description |
---|---|---|
Name |
ImportDeclaration.getName() |
Retrieves the name of the import (.* is not included.)
|
Name |
PackageDeclaration.getName() |
Return the name expression of the package.
|
Modifier and Type | Method | Description |
---|---|---|
ImportDeclaration |
ImportDeclaration.setName(Name name) |
|
PackageDeclaration |
PackageDeclaration.setName(Name name) |
Sets the name of this package declaration.
|
Constructor | Description |
---|---|
ImportDeclaration(Name name,
boolean isStatic,
boolean isAsterisk) |
|
ImportDeclaration(TokenRange tokenRange,
Name name,
boolean isStatic,
boolean isAsterisk) |
This constructor is used by the parser and is considered private.
|
PackageDeclaration(Name name) |
|
PackageDeclaration(NodeList<AnnotationExpr> annotations,
Name name) |
|
PackageDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Field | Description |
---|---|---|
protected Name |
AnnotationExpr.name |
Modifier and Type | Method | Description |
---|---|---|
Name |
Name.clone() |
|
Name |
AnnotationExpr.getName() |
|
static Name |
Name.parse(String qualifiedName) |
Deprecated.
use JavaParser.parseName instead
|
Name |
Name.removeQualifier() |
|
Name |
Name.setAnnotations(NodeList<AnnotationExpr> annotations) |
|
Name |
Name.setIdentifier(String identifier) |
|
Name |
Name.setQualifier(Name qualifier) |
Modifier and Type | Method | Description |
---|---|---|
Optional<Name> |
Name.getQualifier() |
Modifier and Type | Method | Description |
---|---|---|
AnnotationExpr |
AnnotationExpr.setName(Name name) |
|
Name |
Name.setQualifier(Name qualifier) |
Constructor | Description |
---|---|
AnnotationExpr(Name name) |
|
AnnotationExpr(TokenRange tokenRange,
Name name) |
This constructor is used by the parser and is considered private.
|
MarkerAnnotationExpr(Name name) |
|
MarkerAnnotationExpr(TokenRange tokenRange,
Name name) |
This constructor is used by the parser and is considered private.
|
Name(Name qualifier,
String identifier) |
|
Name(Name qualifier,
String identifier,
NodeList<AnnotationExpr> annotations) |
|
Name(TokenRange tokenRange,
Name qualifier,
String identifier,
NodeList<AnnotationExpr> annotations) |
This constructor is used by the parser and is considered private.
|
NormalAnnotationExpr(Name name,
NodeList<MemberValuePair> pairs) |
|
NormalAnnotationExpr(TokenRange tokenRange,
Name name,
NodeList<MemberValuePair> pairs) |
This constructor is used by the parser and is considered private.
|
SingleMemberAnnotationExpr(Name name,
Expression memberValue) |
|
SingleMemberAnnotationExpr(TokenRange tokenRange,
Name name,
Expression memberValue) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
Name |
ModuleDeclaration.getName() |
|
Name |
ModuleExportsStmt.getName() |
|
Name |
ModuleOpensStmt.getName() |
|
Name |
ModuleRequiresStmt.getName() |
Modifier and Type | Method | Description |
---|---|---|
NodeList<Name> |
ModuleExportsStmt.getModuleNames() |
|
NodeList<Name> |
ModuleOpensStmt.getModuleNames() |
Modifier and Type | Method | Description |
---|---|---|
ModuleDeclaration |
ModuleDeclaration.setName(Name name) |
|
ModuleExportsStmt |
ModuleExportsStmt.setName(Name name) |
|
ModuleOpensStmt |
ModuleOpensStmt.setName(Name name) |
|
ModuleRequiresStmt |
ModuleRequiresStmt.setName(Name name) |
Modifier and Type | Method | Description |
---|---|---|
ModuleExportsStmt |
ModuleExportsStmt.setModuleNames(NodeList<Name> moduleNames) |
|
ModuleOpensStmt |
ModuleOpensStmt.setModuleNames(NodeList<Name> moduleNames) |
Constructor | Description |
---|---|
ModuleDeclaration(Name name,
boolean isOpen) |
|
ModuleDeclaration(NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleStmt> moduleStmts) |
|
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(Name name,
NodeList<Name> moduleNames) |
|
ModuleExportsStmt(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames) |
This constructor is used by the parser and is considered private.
|
ModuleOpensStmt(Name name,
NodeList<Name> moduleNames) |
|
ModuleOpensStmt(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames) |
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.
|
ModuleRequiresStmt(EnumSet<Modifier> modifiers,
Name name) |
Constructor | Description |
---|---|
ModuleExportsStmt(Name name,
NodeList<Name> moduleNames) |
|
ModuleExportsStmt(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames) |
This constructor is used by the parser and is considered private.
|
ModuleOpensStmt(Name name,
NodeList<Name> moduleNames) |
|
ModuleOpensStmt(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames) |
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method | Description |
---|---|---|
Name |
NodeWithName.getName() |
Modifier and Type | Method | Description |
---|---|---|
N |
NodeWithName.setName(Name name) |
Modifier and Type | Method | Description |
---|---|---|
void |
ReservedKeywordValidator.visit(Name n,
ProblemReporter arg) |
Modifier and Type | Method | Description |
---|---|---|
void |
UnderscoreKeywordValidator.visit(Name n,
ProblemReporter arg) |
Modifier and Type | Method | Description |
---|---|---|
Visitable |
CloneVisitor.visit(Name n,
Object arg) |
|
Boolean |
EqualsVisitor.visit(Name n,
Visitable arg) |
|
List<R> |
GenericListVisitorAdapter.visit(Name n,
A arg) |
|
R |
GenericVisitor.visit(Name n,
A arg) |
|
R |
GenericVisitorAdapter.visit(Name n,
A arg) |
|
Integer |
HashCodeVisitor.visit(Name n,
Void arg) |
|
Visitable |
ModifierVisitor.visit(Name n,
A arg) |
|
Boolean |
ObjectIdentityEqualsVisitor.visit(Name n,
Visitable arg) |
|
Integer |
ObjectIdentityHashCodeVisitor.visit(Name n,
Void arg) |
|
void |
VoidVisitor.visit(Name n,
A arg) |
|
void |
VoidVisitorAdapter.visit(Name n,
A arg) |
Modifier and Type | Method | Description |
---|---|---|
void |
PrettyPrintVisitor.visit(Name n,
Void arg) |
Copyright © 2007–2019. All rights reserved.