Searched refs:importCandidate (Results 1 – 1 of 1) sorted by relevance
148 Optional<ClassName> importCandidate = Optional.of(className); in write() local149 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()