Modifier and Type | Field and Description |
---|---|
static ParseStart<Name> |
ParseStart.NAME |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
ImportDeclaration |
ImportDeclaration.setName(Name name) |
PackageDeclaration |
PackageDeclaration.setName(Name name)
Sets the name of this package declaration.
|
Constructor and 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 | Method and Description |
---|---|
Name |
ReceiverParameter.getName() |
Modifier and Type | Method and Description |
---|---|
ReceiverParameter |
ReceiverParameter.setName(Name name) |
Constructor and Description |
---|
ReceiverParameter(NodeList<AnnotationExpr> annotations,
Type type,
Name name) |
ReceiverParameter(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Type type,
Name name)
This constructor is used by the parser and is considered private.
|
ReceiverParameter(Type type,
Name name) |
Modifier and Type | Field and Description |
---|---|
protected Name |
AnnotationExpr.name |
Modifier and Type | Method and Description |
---|---|
Name |
Name.clone() |
Name |
AnnotationExpr.getName() |
static Name |
Name.parse(String qualifiedName)
Deprecated.
use JavaParser.parseName instead
|
Name |
Name.removeQualifier() |
Name |
Name.setIdentifier(String identifier) |
Name |
Name.setQualifier(Name qualifier) |
Modifier and Type | Method and Description |
---|---|
Optional<Name> |
Name.getQualifier() |
Modifier and Type | Method and Description |
---|---|
AnnotationExpr |
AnnotationExpr.setName(Name name) |
Name |
Name.setQualifier(Name qualifier) |
Constructor and 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(TokenRange tokenRange,
Name qualifier,
String identifier)
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 and Description |
---|---|
Name |
ModuleUsesDirective.getName() |
Name |
ModuleExportsDirective.getName() |
Name |
ModuleProvidesDirective.getName() |
Name |
ModuleDeclaration.getName() |
Name |
ModuleOpensDirective.getName() |
Name |
ModuleRequiresDirective.getName() |
Modifier and Type | Method and Description |
---|---|
NodeList<Name> |
ModuleExportsDirective.getModuleNames() |
NodeList<Name> |
ModuleOpensDirective.getModuleNames() |
NodeList<Name> |
ModuleProvidesDirective.getWith() |
Modifier and Type | Method and Description |
---|---|
ModuleUsesDirective |
ModuleUsesDirective.setName(Name name) |
ModuleExportsDirective |
ModuleExportsDirective.setName(Name name) |
ModuleProvidesDirective |
ModuleProvidesDirective.setName(Name name) |
ModuleDeclaration |
ModuleDeclaration.setName(Name name) |
ModuleOpensDirective |
ModuleOpensDirective.setName(Name name) |
ModuleRequiresDirective |
ModuleRequiresDirective.setName(Name name) |
ModuleUsesDirective |
ModuleUsesDirective.setType(Name name) |
Modifier and Type | Method and Description |
---|---|
ModuleExportsDirective |
ModuleExportsDirective.setModuleNames(NodeList<Name> moduleNames) |
ModuleOpensDirective |
ModuleOpensDirective.setModuleNames(NodeList<Name> moduleNames) |
ModuleProvidesDirective |
ModuleProvidesDirective.setWith(NodeList<Name> with) |
Constructor and Description |
---|
ModuleDeclaration(Name name,
boolean isOpen) |
ModuleDeclaration(NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives) |
ModuleDeclaration(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations,
Name name,
boolean isOpen,
NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.
|
ModuleExportsDirective(Name name,
NodeList<Name> moduleNames) |
ModuleExportsDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleOpensDirective(Name name,
NodeList<Name> moduleNames) |
ModuleOpensDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleProvidesDirective(Name name,
NodeList<Name> with) |
ModuleProvidesDirective(TokenRange tokenRange,
Name name,
NodeList<Name> with)
This constructor is used by the parser and is considered private.
|
ModuleRequiresDirective(NodeList<Modifier> modifiers,
Name name) |
ModuleRequiresDirective(TokenRange tokenRange,
NodeList<Modifier> modifiers,
Name name)
This constructor is used by the parser and is considered private.
|
ModuleUsesDirective(Name name) |
ModuleUsesDirective(TokenRange tokenRange,
Name name)
This constructor is used by the parser and is considered private.
|
Constructor and Description |
---|
ModuleExportsDirective(Name name,
NodeList<Name> moduleNames) |
ModuleExportsDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleOpensDirective(Name name,
NodeList<Name> moduleNames) |
ModuleOpensDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
ModuleProvidesDirective(Name name,
NodeList<Name> with) |
ModuleProvidesDirective(TokenRange tokenRange,
Name name,
NodeList<Name> with)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
Name |
NodeWithName.getName() |
Modifier and Type | Method and Description |
---|---|
N |
NodeWithName.setName(Name name) |
Modifier and Type | Method and Description |
---|---|
void |
ReservedKeywordValidator.visit(Name n,
ProblemReporter arg) |
Modifier and Type | Method and Description |
---|---|
void |
UnderscoreKeywordValidator.visit(Name n,
ProblemReporter arg) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitorAdapter.visit(Name n,
A arg) |
void |
VoidVisitorWithDefaults.visit(Name n,
A arg) |
R |
GenericVisitor.visit(Name n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(Name n,
A arg) |
void |
VoidVisitor.visit(Name n,
A arg) |
R |
GenericVisitorWithDefaults.visit(Name n,
A arg) |
Visitable |
ModifierVisitor.visit(Name n,
A arg) |
void |
VoidVisitorAdapter.visit(Name n,
A arg) |
Visitable |
CloneVisitor.visit(Name n,
Object arg) |
Boolean |
EqualsVisitor.visit(Name n,
Visitable arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(Name n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(Name n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(Name n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(Name n,
Void arg) |
Integer |
HashCodeVisitor.visit(Name n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(Name n,
Void arg) |
Copyright © 2007–2019. All rights reserved.