public static Set<Sort> of(Collection<org.kframework.kil.Sort> sorts) { ImmutableSet.Builder<Sort> builder = ImmutableSet.builder(); for (org.kframework.kil.Sort name : sorts) { builder.add(Sort.of(name.getName())); } return builder.build(); }
public static Sort of(org.kframework.kil.Sort sort) { return of(sort.getName()); }