Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public static Sort of(org.kframework.kil.Sort sort) {
   return of(sort.getName());
 }