Searched refs:getImport (Results 1 – 9 of 9) sorted by relevance
51 assertEquals("import " + Map.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddImport()52 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(1).toString()); in testAddImport()53 assertEquals("import myImport;" + EOL, cu.getImport(2).toString()); in testAddImport()66 assertEquals("import java.lang.annotation.ElementType;"+ EOL, cu.getImport(0).toString()); in typesInSubPackagesOfTheJavaLangPackageRequireExplicitImports()104 … assertEquals("com.github.javaparser.ast.CompilationUnit", cu.getImport(0).getNameAsString()); in testAddImportArrayTypes()105 assertEquals("java.util.List", cu.getImport(1).getNameAsString()); in testAddImportArrayTypes()116 cu.getImport(0).toString()); in testAddImportAnonymousClass()
55 cu.getImport(0).toString()); in testAddExtends()66 cu.getImport(0).toString()); in testAddImplements()
42 cu.getImport(0).toString()); in testAddImplements()
44 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddParameter()
45 …om.github.javaparser.builders.NodeWithAnnotationsBuildersTest.hey;", cu.getImport(0).toString().tr… in testAddAnnotation()
198 m_endImportCountComposed += this.getImport(--count).getEndImportCountComposed(); in recomposeImports()209 …m_endImportCountComposed +=getIncludeComposed(count).getImport(--imports).getEndImportCountCompose… in recomposeImports()
476 public StylesheetComposed getImport(int i) in getImport() method in Stylesheet1392 getImport(j).callVisitors(visitor); in callChildVisitors()
410 Stylesheet imported = stylesheet.getImport(i); in addImports()
160 public ImportDeclaration getImport(int i) { in getImport() method in CompilationUnit