Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast | |
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.visitor |
Modifier and Type | Method and Description |
---|---|
static NameExpr |
ASTHelper.createNameExpr(String qualifiedName)
Creates a new
NameExpr from a qualified name.The qualified name can contains "." (dot) characters. |
Modifier and Type | Method and Description |
---|---|
NameExpr |
ImportDeclaration.getName()
Retrieves the name of the import.
|
NameExpr |
PackageDeclaration.getName()
Return the name expression of the package.
|
Modifier and Type | Method and Description |
---|---|
void |
ImportDeclaration.setName(NameExpr name)
Sets the name this import.
|
void |
PackageDeclaration.setName(NameExpr name)
Sets the name of this package declaration.
|
Constructor and Description |
---|
ImportDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
NameExpr name,
boolean isStatic,
boolean isAsterisk) |
ImportDeclaration(NameExpr name,
boolean isStatic,
boolean isAsterisk) |
PackageDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<AnnotationExpr> annotations,
NameExpr name) |
PackageDeclaration(List<AnnotationExpr> annotations,
NameExpr name) |
PackageDeclaration(NameExpr name) |
Modifier and Type | Method and Description |
---|---|
NameExpr |
ConstructorDeclaration.getNameExpr() |
NameExpr |
MethodDeclaration.getNameExpr() |
NameExpr |
TypeDeclaration.getNameExpr() |
Modifier and Type | Method and Description |
---|---|
List<NameExpr> |
ConstructorDeclaration.getThrows() |
Modifier and Type | Method and Description |
---|---|
void |
ConstructorDeclaration.setNameExpr(NameExpr name) |
void |
MethodDeclaration.setNameExpr(NameExpr name) |
void |
TypeDeclaration.setNameExpr(NameExpr nameExpr) |
Modifier and Type | Method and Description |
---|---|
void |
ConstructorDeclaration.setThrows(List<NameExpr> throws_) |
Constructor and Description |
---|
ConstructorDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<NameExpr> throws_,
BlockStmt block) |
ConstructorDeclaration(int modifiers,
List<AnnotationExpr> annotations,
List<TypeParameter> typeParameters,
String name,
List<Parameter> parameters,
List<NameExpr> throws_,
BlockStmt block) |
Modifier and Type | Class and Description |
---|---|
class |
QualifiedNameExpr |
Modifier and Type | Field and Description |
---|---|
protected NameExpr |
AnnotationExpr.name |
Modifier and Type | Method and Description |
---|---|
NameExpr |
FieldAccessExpr.getFieldExpr() |
NameExpr |
AnnotationExpr.getName() |
NameExpr |
MethodCallExpr.getNameExpr() |
NameExpr |
QualifiedNameExpr.getQualifier() |
Modifier and Type | Method and Description |
---|---|
void |
FieldAccessExpr.setFieldExpr(NameExpr field) |
void |
AnnotationExpr.setName(NameExpr name) |
void |
MethodCallExpr.setNameExpr(NameExpr name) |
void |
QualifiedNameExpr.setQualifier(NameExpr qualifier) |
Constructor and Description |
---|
MarkerAnnotationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
NameExpr name) |
MarkerAnnotationExpr(NameExpr name) |
NormalAnnotationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
NameExpr name,
List<MemberValuePair> pairs) |
NormalAnnotationExpr(NameExpr name,
List<MemberValuePair> pairs) |
QualifiedNameExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
NameExpr scope,
String name) |
QualifiedNameExpr(NameExpr scope,
String name) |
SingleMemberAnnotationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
NameExpr name,
Expression memberValue) |
SingleMemberAnnotationExpr(NameExpr name,
Expression memberValue) |
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitor.visit(NameExpr n,
A arg) |
void |
VoidVisitor.visit(NameExpr n,
A arg) |
void |
VoidVisitorAdapter.visit(NameExpr n,
A arg) |
Node |
ModifierVisitorAdapter.visit(NameExpr n,
A arg) |
R |
GenericVisitorAdapter.visit(NameExpr n,
A arg) |
Boolean |
EqualsVisitor.visit(NameExpr n1,
Node arg) |
void |
DumpVisitor.visit(NameExpr n,
Object arg) |
Node |
CloneVisitor.visit(NameExpr _n,
Object _arg) |
Copyright © 2007–2016. All rights reserved.