Home
last modified time | relevance | path

Searched refs:ModuleDeclaration (Results 1 – 25 of 36) sorted by relevance

12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDeclaration.java24 public class ModuleDeclaration extends Node implements NodeWithName<ModuleDeclaration>, NodeWithAnn… class
34 public ModuleDeclaration() { in ModuleDeclaration() method in ModuleDeclaration
38 public ModuleDeclaration(Name name, boolean isOpen) { in ModuleDeclaration() method in ModuleDeclaration
43 …public ModuleDeclaration(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList… in ModuleDeclaration() method in ModuleDeclaration
51 …public ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, b… in ModuleDeclaration() method in ModuleDeclaration
78 public ModuleDeclaration setName(final Name name) { in setName()
81 return (ModuleDeclaration) this; in setName()
97 public ModuleDeclaration setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations()
100 return (ModuleDeclaration) this; in setAnnotations()
136 public ModuleDeclaration setOpen(final boolean isOpen) { in setOpen()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java31 import com.github.javaparser.ast.modules.ModuleDeclaration;
91 private ModuleDeclaration module;
105 …odeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) { in CompilationUnit()
113 …odeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) { in CompilationUnit()
534 public Optional<ModuleDeclaration> getModule() { in getModule()
539 public CompilationUnit setModule(final ModuleDeclaration module) { in setModule()
553 return setModule((ModuleDeclaration) null); in removeModule()
578 public ModuleDeclaration setModule(String name) { in setModule()
579 final ModuleDeclaration module = new ModuleDeclaration(parseName(name), false); in setModule()
736 setModule((ModuleDeclaration) replacementNode); in replace()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java68 ModuleDeclaration module = cu.getModule().get(); in jlsExample1()
103 ModuleDeclaration module = cu.getModule().get(); in jlsExample2HasAnOpenModule()
188 ModuleDeclaration moduleDeclaration = new CompilationUnit() in fluentInterface()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DParseStart.java31 import com.github.javaparser.ast.modules.ModuleDeclaration;
69 …ParseStart<ModuleDeclaration> MODULE_DECLARATION = GeneratedJavaParser::ModuleDeclarationParseStar…
DStaticJavaParser.java32 import com.github.javaparser.ast.modules.ModuleDeclaration;
442 public static ModuleDeclaration parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration()
DJavaParser.java32 import com.github.javaparser.ast.modules.ModuleDeclaration;
493 public ParseResult<ModuleDeclaration> parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DModuleDeclarationMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.modules.ModuleDeclaration.class, "ModuleDe… in ModuleDeclarationMetaModel()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/
DJava1_0Validator.java10 import com.github.javaparser.ast.modules.ModuleDeclaration;
97 final Validator noModules = new SimpleValidator<>(ModuleDeclaration.class,
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java50 add(ModuleDeclaration.class);
/external/selinux/python/sepolgen/src/sepolgen/
Drefparser.py354 m = refpolicy.ModuleDeclaration()
539 m = refpolicy.ModuleDeclaration()
Dpolicygen.py147 m = refpolicy.ModuleDeclaration()
Drefpolicy.py104 return filter(lambda x: isinstance(x, ModuleDeclaration), walktree(self))
692 class ModuleDeclaration(Leaf): class
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicTest.java11 import com.github.javaparser.ast.modules.ModuleDeclaration;
472 ModuleDeclaration md = parse("module com.mydeveloperplanet.jpmshello {\n" + in nameAsStringModuleName()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DVoidVisitor.java206 void visit(ModuleDeclaration n, A arg); in visit()
DNoCommentEqualsVisitor.java978 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
979 final ModuleDeclaration n2 = (ModuleDeclaration) arg; in visit()
DGenericVisitor.java211 R visit(ModuleDeclaration n, A arg); in visit()
DEqualsVisitor.java1194 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
1195 final ModuleDeclaration n2 = (ModuleDeclaration) arg; in visit()
DObjectIdentityHashCodeVisitor.java377 public Integer visit(final ModuleDeclaration n, final Void arg) { in visit()
DVoidVisitorWithDefaults.java466 public void visit(final ModuleDeclaration n, final A arg) { in visit()
DObjectIdentityEqualsVisitor.java462 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
DGenericVisitorWithDefaults.java469 public R visit(final ModuleDeclaration n, final A arg) { in visit()
DCloneVisitor.java44 ModuleDeclaration module = cloneNode(n.getModule(), arg); in visit()
1051 public Visitable visit(final ModuleDeclaration n, final Object arg) { in visit()
1056ModuleDeclaration r = new ModuleDeclaration(n.getTokenRange().orElse(null), annotations, name, n.i… in visit()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj620 ModuleDeclaration module = null;
638 module = ModuleDeclaration(modifier)
2755 ModuleDeclaration ModuleDeclaration(ModifierHolder modifier):
2769 …{ return new ModuleDeclaration(range(begin, token()), modifier.annotations, name, open, directives…
2854 ModuleDeclaration ModuleDeclarationParseStart():
2856 ModuleDeclaration ret;
2861 ret = ModuleDeclaration(modifiers)
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DDefaultVisitorAdapter.java432 public ResolvedType visit(ModuleDeclaration node, Boolean arg) { in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DDefaultVisitorAdapter.java432 public Type visit(ModuleDeclaration node, Boolean arg) { in visit()

12