Home
last modified time | relevance | path

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

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DCompilationUnitBuildersTest.java53 assertEquals("import " + Map.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddImport()
54 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(1).toString()); in testAddImport()
55 assertEquals("import myImport;" + EOL, cu.getImport(2).toString()); in testAddImport()
66 cu.getImport(0).toString()); in testAddImportAnonymousClass()
DClassOrInterfaceDeclarationBuildersTest.java55 cu.getImport(0).toString()); in testAddExtends()
66 cu.getImport(0).toString()); in testAddImplements()
DEnumDeclarationBuildersTest.java44 cu.getImport(0).toString()); in testAddImplements()
DNodeWithAnnotationsBuildersTest.java46 …om.github.javaparser.builders.NodeWithAnnotationsBuildersTest.hey;", cu.getImport(0).toString().tr… in testAddAnnotation()
DNodeWithParametersBuildersTest.java46 assertEquals("import " + List.class.getName() + ";" + EOL, cu.getImport(0).toString()); in testAddParameter()
/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