Searched refs:staticImports (Results 1 – 3 of 3) sorted by relevance
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | JavaFile.java | 63 private final Set<String> staticImports; field in JavaFile 72 this.staticImports = Util.immutableSet(builder.staticImports); in JavaFile() 92 staticImports, in writeTo() 100 = new CodeWriter(out, indent, suggestedImports, staticImports, alwaysQualify); in writeTo() 194 if (!staticImports.isEmpty()) { in emit() 195 for (String signature : staticImports) { in emit() 283 public final Set<String> staticImports = new TreeSet<>(); field in Builder 309 staticImports.add(className.canonicalName + "." + name); in addStaticImport()
|
D | CodeWriter.java | 56 private final Set<String> staticImports; field in CodeWriter 75 CodeWriter(Appendable out, String indent, Set<String> staticImports, Set<String> alwaysQualify) { in CodeWriter() argument 76 this(out, indent, Collections.emptyMap(), staticImports, alwaysQualify); in CodeWriter() 82 Set<String> staticImports, in CodeWriter() argument 87 this.staticImports = checkNotNull(staticImports, "staticImports == null"); in CodeWriter() 90 for (String signature : staticImports) { in CodeWriter() 347 if (staticImports.contains(explicit) || staticImports.contains(wildcard)) { in emitStaticImportMember()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | JavaFileTest.java | 713 builder.staticImports.clear(); in modifyStaticImports() 714 builder.staticImports.add(File.class.getCanonicalName() + ".separatorChar"); in modifyStaticImports()
|