Package | Description |
---|---|
com.github.javaparser.ast | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer |
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(Range range,
Name name,
boolean isStatic,
boolean isAsterisk) |
PackageDeclaration(Name name) |
PackageDeclaration(NodeList<AnnotationExpr> annotations,
Name name) |
PackageDeclaration(Range range,
NodeList<AnnotationExpr> annotations,
Name name) |
Modifier and Type | Field and Description |
---|---|
protected Name |
AnnotationExpr.name |
Modifier and Type | Method and Description |
---|---|
Name |
AnnotationExpr.getName() |
static Name |
Name.parse(String qualifiedName)
Creates a new
Name from a qualified name.The qualified name can contains "." (dot) characters. |
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(Range range,
Name name) |
MarkerAnnotationExpr(Name name) |
MarkerAnnotationExpr(Range range,
Name name) |
Name(Name qualifier,
String identifier) |
Name(Range range,
Name qualifier,
String identifier) |
NormalAnnotationExpr(Name name,
NodeList<MemberValuePair> pairs) |
NormalAnnotationExpr(Range range,
Name name,
NodeList<MemberValuePair> pairs) |
SingleMemberAnnotationExpr(Name name,
Expression memberValue) |
SingleMemberAnnotationExpr(Range range,
Name name,
Expression memberValue) |
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 |
---|---|
R |
GenericVisitor.visit(Name n,
A arg) |
Visitable |
ModifierVisitor.visit(Name n,
A arg) |
void |
VoidVisitor.visit(Name n,
A arg) |
void |
VoidVisitorAdapter.visit(Name n,
A arg) |
R |
GenericVisitorAdapter.visit(Name n,
A arg) |
Visitable |
CloneVisitor.visit(Name _n,
Object _arg) |
Boolean |
EqualsVisitor.visit(Name n1,
Visitable arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(Name n,
Void arg) |
Copyright © 2007–2016. All rights reserved.