Home
last modified time | relevance | path

Searched refs:addImport (Results 1 – 20 of 20) sorted by relevance

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DCompilationUnitBuildersTest.java47 cu.addImport(Map.class); in testAddImport()
48 cu.addImport(Map.class); in testAddImport()
49 cu.addImport(List.class); in testAddImport()
51 cu.addImport("myImport"); in testAddImport()
64 cu.addImport(testInnerClass.class); in testAddImportAnonymousClass()
74 cu.addImport(anonymous.getClass()); in testAddImportInnerClass()
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/
DTypeCastingGenerator.java68 baseCu.addImport("com.github.javaparser.utils.CodeGenerationUtils.f", true, false); in generateAsType()
72 baseCu.addImport(Optional.class); in generateToType()
73 nodeCu.addImport(Optional.class); in generateToType()
86 baseCu.addImport(Consumer.class); in generateIfType()
87 nodeCu.addImport(Consumer.class); in generateIfType()
DGetMetaModelGenerator.java27 nodeCu.addImport(nodeMetaModel.getClass().getName()); in generateNode()
28 nodeCu.addImport(JavaParserMetaModel.class); in generateNode()
DAcceptGenerator.java29 nodeCu.addImport(GenericVisitor.class); in generateNode()
30 nodeCu.addImport(VoidVisitor.class); in generateNode()
DCloneGenerator.java21 nodeCu.addImport(CloneVisitor.class); in generateNode()
DMainConstructorGenerator.java52 nodeCu.addImport(TokenRange.class); in generateNode()
DReplaceMethodGenerator.java25 nodeCu.addImport(Node.class); in generateNode()
DRemoveMethodGenerator.java26 nodeCu.addImport(Node.class); in generateNode()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java221 public CompilationUnit addImport(String name) { in addImport() method in CompilationUnit
222 return addImport(name, false, false); in addImport()
232 public CompilationUnit addImport(Class<?> clazz) { in addImport() method in CompilationUnit
237 return addImport(clazz.getComponentType().getName()); in addImport()
238 return addImport(clazz.getName()); in addImport()
250 public CompilationUnit addImport(String name, boolean isStatic, boolean isAsterisk) { in addImport() method in CompilationUnit
DNode.java338 parentNode.addImport(clazz); in tryAddImportToParentCompilationUnit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java225 public CompilationUnit addImport(ImportDeclaration imports) { in addImport() method in CompilationUnit
299 public CompilationUnit addImport(String name) { in addImport() method in CompilationUnit
300 return addImport(name, false, false); in addImport()
311 public CompilationUnit addImport(Class<?> clazz) { in addImport() method in CompilationUnit
315 return addImport(clazz.getName().replace("$", ".")); in addImport()
317 return addImport(clazz.getComponentType().getName()); in addImport()
320 return addImport(clazz.getName()); in addImport()
332 public CompilationUnit addImport(String name, boolean isStatic, boolean isAsterisk) { in addImport() method in CompilationUnit
DNode.java415 getAncestorOfType(CompilationUnit.class).ifPresent(p -> p.addImport(clazz)); in tryAddImportToParentCompilationUnit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt17 …Line 222) addImport(name, false, false) ==> com.github.javaparser.ast.CompilationUnit.addImport(ja…
27 …Line 237) addImport(clazz.getComponentType().getName()) ==> com.github.javaparser.ast.CompilationU…
30 …Line 238) addImport(clazz.getName()) ==> com.github.javaparser.ast.CompilationUnit.addImport(java.…
Dcom_github_javaparser_ast_Node.txt38 …Line 338) parentNode.addImport(clazz) ==> com.github.javaparser.ast.CompilationUnit.addImport(java…
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DNodeMetaModelGenerator.java48 classMetaModelJavaFile.addImport("java.util.Optional"); in generate()
73 classMetaModelJavaFile.addImport(Node.class); in generate()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugCrossImpSubsection.h81 void addImport(StringRef Module, uint32_t ImportId);
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/visitor/
DGenericListVisitorAdapterGenerator.java54 ).forEach(compilationUnit::addImport); in generateVisitMethodBody()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DDebugCrossImpSubsection.cpp55 void DebugCrossModuleImportsSubsection::addImport(StringRef Module, in addImport() function in DebugCrossModuleImportsSubsection
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java79 public JavaWriter addImport(Class<?> importedClass) { in addImport() method in JavaWriter
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DCodeViewYAMLDebugSections.cpp484 Result->addImport(M.ModuleName, Id); in toCodeViewSubsection()