*** 90,104 **** for (Tree decl : declarations) { if (decl instanceof EnumTree) { nested.add(decl); } else if (decl instanceof StructTree) { StructTree s = (StructTree)decl; - if (!s.isAnonymous()) { nested.add(s); } - nested.addAll(s.nestedTypes()); - } } return Collections.unmodifiableList(nested); } @Override --- 90,101 ----