static L classDeclarationNames(L> decls) { new L have; for (L c : decls) have.add(getClassDeclarationName(c)); ret have; }