Searched refs:alwaysQualify (Results 1 – 6 of 6) sorted by relevance
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | CodeWriter.java | 57 private final Set<String> alwaysQualify; 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() 83 Set<String> alwaysQualify) { in CodeWriter() argument 88 this.alwaysQualify = checkNotNull(alwaysQualify, "alwaysQualify == null"); in CodeWriter() 417 } else if (alwaysQualify.contains(className.simpleName)) { in importableType()
|
D | JavaFile.java | 64 private final Set<String> alwaysQualify; field in JavaFile 77 this.alwaysQualify = Util.immutableSet(alwaysQualifiedNames); in JavaFile() 93 alwaysQualify in writeTo() 100 = new CodeWriter(out, indent, suggestedImports, staticImports, alwaysQualify); in writeTo() 206 && !alwaysQualify.contains(className.simpleName)) { in emit()
|
D | TypeSpec.java | 658 public Builder alwaysQualify(String... simpleNames) { in alwaysQualify() method in TypeSpec.Builder 698 alwaysQualify(nestedType.getSimpleName().toString()); in avoidClashesWithNestedClasses() 742 alwaysQualify(nestedType.getSimpleName()); in avoidClashesWithNestedClasses()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | JavaFileTest.java | 731 .alwaysQualify("Thread") in alwaysQualifySimple() 747 .alwaysQualify("Thread") in alwaysQualifySupersedesJavaLangImports()
|
D | TypeSpecTest.java | 2287 .alwaysQualify("com.example.AlwaysQualified") in initializersToBuilder()
|
/external/javapoet/ |
D | CHANGELOG.md | 22 * New: Add `TypeSpec.alwaysQualify()` API to avoid clashes involving nested type names.
|