@Override
    public void addImportsTo(@NotNull JavaCodeFragment fragment) {
      for (Type type : myTypes) {
        type.addImportsTo(fragment);
      }
    }
@Override
    public void addImportsTo(@NotNull JavaCodeFragment fragment)