Uses of Class
com.github.javaparser.ast.modules.ModuleDeclaration
Package
Description
-
Uses of ModuleDeclaration in com.github.javaparser
Modifier and TypeFieldDescriptionstatic ParseStart<ModuleDeclaration>
ParseStart.MODULE_DECLARATION
Modifier and TypeMethodDescriptionstatic ModuleDeclaration
StaticJavaParser.parseModuleDeclaration(String moduleDeclaration)
Parses a module declaration and returns it as a ModuleDeclaration.Modifier and TypeMethodDescriptionJavaParser.parseModuleDeclaration(String moduleDeclaration)
Parses a module declaration and returns it as a ModuleDeclaration. -
Uses of ModuleDeclaration in com.github.javaparser.ast
Modifier and TypeMethodDescriptionCreate (or overwrite) a module declaration in this compilation unit with name "name".ModifierConstructorDescriptionCompilationUnit(PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module)
CompilationUnit(TokenRange tokenRange, PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module)
This constructor is used by the parser and is considered private. -
Uses of ModuleDeclaration in com.github.javaparser.ast.modules
Modifier and TypeMethodDescriptionModuleDeclaration.addDirective(ModuleDirective directive)
ModuleDeclaration.addDirective(String directive)
Add a directive to the module, like "exports R.S to T1.U1, T2.U2;"ModuleDeclaration.clone()
ModuleDeclaration.setAnnotations(NodeList<AnnotationExpr> annotations)
ModuleDeclaration.setDirectives(NodeList<ModuleDirective> directives)
ModuleDeclaration.setOpen(boolean isOpen)
-
Uses of ModuleDeclaration in com.github.javaparser.ast.visitor
Modifier and TypeMethodDescriptionCloneVisitor.visit(ModuleDeclaration n, Object arg)
EqualsVisitor.visit(ModuleDeclaration n, Visitable arg)
GenericListVisitorAdapter.visit(ModuleDeclaration n, A arg)
GenericVisitor.visit(ModuleDeclaration n, A arg)
GenericVisitorAdapter.visit(ModuleDeclaration n, A arg)
GenericVisitorWithDefaults.visit(ModuleDeclaration n, A arg)
HashCodeVisitor.visit(ModuleDeclaration n, Void arg)
ModifierVisitor.visit(ModuleDeclaration n, A arg)
NoCommentEqualsVisitor.visit(ModuleDeclaration n, Visitable arg)
NoCommentHashCodeVisitor.visit(ModuleDeclaration n, Void arg)
ObjectIdentityEqualsVisitor.visit(ModuleDeclaration n, Visitable arg)
ObjectIdentityHashCodeVisitor.visit(ModuleDeclaration n, Void arg)
void
VoidVisitor.visit(ModuleDeclaration n, A arg)
void
VoidVisitorAdapter.visit(ModuleDeclaration n, A arg)
void
VoidVisitorWithDefaults.visit(ModuleDeclaration n, A arg)
-
Uses of ModuleDeclaration in com.github.javaparser.printer
Modifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit(ModuleDeclaration n, Void arg)
void
PrettyPrintVisitor.visit(ModuleDeclaration n, Void arg)
Deprecated.