@Override
    public boolean canFix() {
      return IntStream.range(0, myPattern.countParts()).anyMatch(idx -> {
        MessagePattern.ArgType type = myPattern.getPart(idx).getArgType();
        return type == MessagePattern.ArgType.NONE || type == MessagePattern.ArgType.SIMPLE;
      });
    }
@Override
    public boolean canFix()