/external/auto/value/src/test/java/com/google/auto/value/processor/ |
D | PropertyAnnotationsTest.java | 253 private ImmutableSet<String> getImports(Class<?>... classes) { in getImports() method in PropertyAnnotationsTest 308 getImports(PropertyAnnotationsTest.class), in testNumberValueAnnotation() 316 getImports(PropertyAnnotationsTest.class), in testByteValueAnnotation() 324 getImports(PropertyAnnotationsTest.class), in testDecimalValueAnnotation() 332 getImports(PropertyAnnotationsTest.class), in testOtherValuesAnnotation() 342 getImports(PropertyAnnotationsTest.class), in testClassAnnotation() 350 getImports(PropertyAnnotationsTest.class), in testEnumAnnotation() 362 getImports(PropertyAnnotationsTest.class), in testEmptyAnnotationAnnotation() 372 getImports(PropertyAnnotationsTest.class), in testValuedAnnotationAnnotation() 384 getImports(PropertyAnnotationsTest.class), in testNumberArrayAnnotation() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/ |
D | CompilationUnitBuildersTest.java | 48 assertEquals(2, cu.getImports().size()); in testAddImport() 50 assertEquals(3, cu.getImports().size()); in testAddImport() 59 assertEquals(0, cu.getImports().size()); in typesInTheJavaLangPackageDoNotNeedExplicitImports() 65 assertEquals(1, cu.getImports().size()); in typesInSubPackagesOfTheJavaLangPackageRequireExplicitImports() 73 assertEquals(1, cu.getImports().size()); in doNotAddDuplicateImportsByClass() 80 assertEquals(1, cu.getImports().size()); in doNotAddDuplicateImportsByString() 87 assertEquals(1, cu.getImports().size()); in doNotAddDuplicateImportsByStringAndFlags() 94 assertEquals(1, cu.getImports().size()); in doNotAddDuplicateImportsByImportDeclaration() 103 assertEquals(2, cu.getImports().size()); in testAddImportArrayTypes()
|
D | ClassOrInterfaceDeclarationBuildersTest.java | 53 assertEquals(1, cu.getImports().size()); in testAddExtends() 64 assertEquals(1, cu.getImports().size()); in testAddImplements()
|
D | EnumDeclarationBuildersTest.java | 40 assertEquals(1, cu.getImports().size()); in testAddImplements()
|
D | NodeWithParametersBuildersTest.java | 43 assertEquals(1, cu.getImports().size()); in testAddParameter()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 86 if (wrappedNode.getImports() != null) { in solveSymbol() 87 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveSymbol() 174 if (wrappedNode.getImports() != null) { in solveType() 181 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType() 205 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType() 262 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveMethod() 304 for (ImportDeclaration importDeclaration : wrappedNode.getImports()) { in fieldsExposedToChild()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | CompilationUnitContext.java | 81 if (wrappedNode.getImports() != null) { in solveSymbol() 82 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveSymbol() 126 if (wrappedNode.getImports() != null) { in solveType() 133 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType() 155 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveType() 228 for (ImportDeclaration importDecl : wrappedNode.getImports()) { in solveMethod()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_CompilationUnitContext.txt | 9 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-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_CompilationUnit.txt | 32 …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()
|
D | com_github_javaparser_ast_visitor_EqualsVisitor.txt | 22 …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/ |
D | CompilationUnit.java | 124 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/src/main/java/com/github/javaparser/ast/ |
D | CompilationUnit.java | 156 public NodeList<ImportDeclaration> getImports() { in getImports() method in CompilationUnit 161 return getImports().get(i); in getImport() 221 getImports().set(i, imports); in setImport() 226 … if (getImports().stream().noneMatch(im -> im.toString().equals(importDeclaration.toString()))) { in addImport() 227 getImports().add(importDeclaration); in addImport()
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/ |
D | GenericListVisitorAdapterGenerator.java | 51 compilationUnit.getImports().stream().noneMatch( in generateVisitMethodBody()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/ |
D | CompilationUnit.java | 107 public List<ImportDeclaration> getImports() { in getImports() method in CompilationUnit
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/ |
D | ShadowProviderGenerator.java | 63 for (String name : model.getImports()) { in generate()
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
D | RemoveUnusedImports.java | 243 for (JCImport importTree : unit.getImports()) { in buildReplacements()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | ImplementsValidator.java | 259 …ends ImportTree> importLines = Trees.instance(env).getPath(elem).getCompilationUnit().getImports(); in captureJavadoc()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 264 public Set<String> getImports() { in getImports() method in RobolectricModel
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/ |
D | VoidVisitorAdapter.java | 253 if (n.getImports() != null) { in visit() 254 for (final ImportDeclaration i : n.getImports()) { in visit()
|
D | GenericVisitorAdapter.java | 435 if (n.getImports() != null) { in visit() 436 for (final ImportDeclaration i : n.getImports()) { in visit()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
D | VoidVisitorAdapter.java | 235 if (n.getImports() != null) { in visit() 236 for (final ImportDeclaration i : n.getImports()) { in visit()
|
D | EqualsVisitor.java | 179 if (!nodesEquals(n1.getImports(), n2.getImports())) { in visit()
|
D | GenericVisitorAdapter.java | 391 if (n.getImports() != null) { in visit() 392 for (final ImportDeclaration i : n.getImports()) { in visit()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/ |
D | NoCommentEqualsVisitor.java | 94 if (!nodesEquals(n.getImports(), n2.getImports())) in visit()
|
D | EqualsVisitor.java | 135 if (!nodesEquals(n.getImports(), n2.getImports())) in visit()
|