Home
last modified time | relevance | path

Searched refs:getImport (Results 1 – 9 of 9) sorted by relevance

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DCompilationUnitBuildersTest.java51 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()
DClassOrInterfaceDeclarationBuildersTest.java55 cu.getImport(0).toString()); in testAddExtends()
66 cu.getImport(0).toString()); in testAddImplements()
DEnumDeclarationBuildersTest.java42 cu.getImport(0).toString()); in testAddImplements()
DNodeWithParametersBuildersTest.java44 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddParameter()
DNodeWithAnnotationsBuildersTest.java45 …om.github.javaparser.builders.NodeWithAnnotationsBuildersTest.hey;", cu.getImport(0).toString().tr… in testAddAnnotation()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DStylesheetComposed.java198 m_endImportCountComposed += this.getImport(--count).getEndImportCountComposed(); in recomposeImports()
209 …m_endImportCountComposed +=getIncludeComposed(count).getImport(--imports).getEndImportCountCompose… in recomposeImports()
DStylesheet.java476 public StylesheetComposed getImport(int i) in getImport() method in Stylesheet
1392 getImport(j).callVisitors(visitor); in callChildVisitors()
DStylesheetRoot.java410 Stylesheet imported = stylesheet.getImport(i); in addImports()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java160 public ImportDeclaration getImport(int i) { in getImport() method in CompilationUnit