static Set<Type> $traitsOf(Type t) => Curse.clazz(t) .$class .superinterfaces .where((i) => i.superinterfaces.any((j) => j.reflectedType == Trait)) .map((i) => i.reflectedType) .toSet();