Home
last modified time | relevance | path

Searched refs:getImports (Results 1 – 25 of 51) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DCompilationUnitContext.java85 if (wrappedNode.getImports() != null) { in solveSymbol()
86 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveSymbol()
132 if (wrappedNode.getImports() != null) { in solveType()
139 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType()
161 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType()
234 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt9 Line 81) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
10 Line 82) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
35 Line 126) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
38 Line 133) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
52 Line 155) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
96 Line 228) wrappedNode.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DClassOrInterfaceDeclarationBuildersTest.java53 assertEquals(1, cu.getImports().size()); in testAddExtends()
64 assertEquals(1, cu.getImports().size()); in testAddImplements()
DCompilationUnitBuildersTest.java50 assertEquals(2, cu.getImports().size()); in testAddImport()
52 assertEquals(3, cu.getImports().size()); in testAddImport()
DEnumDeclarationBuildersTest.java42 assertEquals(1, cu.getImports().size()); in testAddImplements()
DNodeWithParametersBuildersTest.java45 assertEquals(1, cu.getImports().size()); in testAddParameter()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java156 public NodeList<ImportDeclaration> getImports() { in getImports() method in CompilationUnit
161 return getImports().get(i); in getImport()
221 getImports().set(i, imports); in setImport()
226 getImports().add(imports); in addImport()
343 … if (getImports().stream().anyMatch(im -> im.toString().equals(importDeclaration.toString()))) in addImport()
346 getImports().add(importDeclaration); in addImport()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt32 …Line 251) getImports().stream().anyMatch(i -> i.getName().toString().equals(name)) ==> java.util.s…
33 Line 251) getImports().stream() ==> java.util.Collection.stream()
34 Line 251) getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
39 Line 256) getImports().add(importDeclaration) ==> java.util.List.add(E)
40 Line 256) getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
Dcom_github_javaparser_ast_visitor_EqualsVisitor.txt22 …Line 179) nodesEquals(n1.getImports(), n2.getImports()) ==> com.github.javaparser.ast.visitor.Equa…
23 Line 179) n1.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
24 Line 179) n2.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java124 public List<ImportDeclaration> getImports() { in getImports() method in CompilationUnit
251 if (getImports().stream().anyMatch(i -> i.getName().toString().equals(name))) in addImport()
256 getImports().add(importDeclaration); in addImport()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DGenericListVisitorAdapterGenerator.java51 compilationUnit.getImports().stream().noneMatch( in generateVisitMethodBody()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DCompilationUnit.java107 public List<ImportDeclaration> getImports() { in getImports() method in CompilationUnit
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DShadowProviderGenerator.java63 for (String name : model.getImports()) { in generate()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DImplementsValidator.java259 …ends ImportTree> importLines = Trees.instance(env).getPath(elem).getCompilationUnit().getImports(); in captureJavadoc()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DVoidVisitorAdapter.java253 if (n.getImports() != null) { in visit()
254 for (final ImportDeclaration i : n.getImports()) { in visit()
DGenericVisitorAdapter.java435 if (n.getImports() != null) { in visit()
436 for (final ImportDeclaration i : n.getImports()) { in visit()
DEqualsVisitor.java167 if (!nodesEquals(n1.getImports(), n2.getImports())) { in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java96 if (!nodesEquals(n.getImports(), n2.getImports())) in visit()
DEqualsVisitor.java137 if (!nodesEquals(n.getImports(), n2.getImports())) in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DVoidVisitorAdapter.java235 if (n.getImports() != null) { in visit()
236 for (final ImportDeclaration i : n.getImports()) { in visit()
DEqualsVisitor.java179 if (!nodesEquals(n1.getImports(), n2.getImports())) { in visit()
DGenericVisitorAdapter.java391 if (n.getImports() != null) { in visit()
392 for (final ImportDeclaration i : n.getImports()) { in visit()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java264 public Set<String> getImports() { in getImports() method in RobolectricModel
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_visitor_VoidVisitorAdapter.txt101 Line 253) n.getImports() != null ==> boolean
103 Line 254) n.getImports() ==> java.util.List<com.github.javaparser.ast.ImportDeclaration>
/external/javaparser/javaparser-testing/src/test/test_sourcecode/com/github/javaparser/printer/
DPrettyPrintVisitor.java159 n.getImports().accept(this, arg); in visit()
160 if (!n.getImports().isEmpty()) { in visit()

123