Package | Description |
---|---|
com.github.javaparser.ast | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer |
Modifier and Type | Method and Description |
---|---|
AnnotationDeclaration |
CompilationUnit.addAnnotationDeclaration(String name)
Add a public annotation declaration to the types of this compilation unit
|
AnnotationDeclaration |
CompilationUnit.addAnnotationDeclaration(String name,
Modifier... modifiers)
Add an annotation declaration to the types of this compilation unit
|
Modifier and Type | Method and Description |
---|---|
Optional<AnnotationDeclaration> |
CompilationUnit.getAnnotationDeclarationByName(String annotationName)
Try to get an annotation by its name
|
Modifier and Type | Method and Description |
---|---|
R |
GenericVisitor.visit(AnnotationDeclaration n,
A arg) |
Visitable |
ModifierVisitor.visit(AnnotationDeclaration n,
A arg) |
void |
VoidVisitor.visit(AnnotationDeclaration n,
A arg) |
void |
VoidVisitorAdapter.visit(AnnotationDeclaration n,
A arg) |
R |
GenericVisitorAdapter.visit(AnnotationDeclaration n,
A arg) |
Visitable |
CloneVisitor.visit(AnnotationDeclaration _n,
Object _arg) |
Boolean |
EqualsVisitor.visit(AnnotationDeclaration n1,
Visitable arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(AnnotationDeclaration n,
Void arg) |
Copyright © 2007–2017. All rights reserved.