Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java148 Optional<ClassName> importCandidate = Optional.of(className); in write() local
149 while (importCandidate.isPresent() in write()
150 && (importedClassIndex.containsKey(importCandidate.get().simpleName()) in write()
151 || declaredSimpleNames.contains(importCandidate.get().simpleName()))) { in write()
152 importCandidate = importCandidate.get().enclosingClassName(); in write()
154 if (importCandidate.isPresent()) { in write()
155 appendable.append("import ").append(importCandidate.get().canonicalName()).append(";\n"); in write()
156 importedClassIndex.put(importCandidate.get().simpleName(), importCandidate.get()); in write()