@Override
  protected LocalQuickFix @NotNull [] buildFixes(final Object... infos) {
    final String castExpressionType = ((PsiTypeElement)infos[1]).getText();
    final String instanceofType = ((PsiTypeElement)infos[2]).getText();
    return new LocalQuickFix[]{
      new ReplaceCastFix(instanceofType, castExpressionType),
      new ReplaceInstanceofFix(instanceofType, castExpressionType)
    };
  }
@Override
  protected LocalQuickFix @NotNull [] buildFixes(final Object... infos)