@Override
  @NotNull
  public Collection<? extends PsiMethod> getVariants(final @NotNull ConvertContext context) {
    Set<PsiMethod> methodList = new LinkedHashSet<>();
    Processor<PsiMethod> processor = CommonProcessors.notNullProcessor(Processors.cancelableCollectProcessor(methodList));
    processMethods(context, processor, s -> {
      final List<PsiMethod> list = ContainerUtil.findAll(getVariants(s), object -> acceptMethod(object, context));
      return list.toArray(PsiMethod.EMPTY_ARRAY);
    });
    return methodList;
  }
@Override
  @NotNull
  public Collection<? extends PsiMethod> getVariants(final @NotNull ConvertContext context)