@Override
  protected LocalQuickFix buildFix(Object... infos) {
    if (infos.length == 1) {
      PsiClass annotationClass = (PsiClass)infos[0];
      String text = getText(annotationClass);
      return LocalQuickFix.from(new SetRuntimeRetentionFix(text, annotationClass));
    }
    else if (infos.length == 2) {
      PsiAnnotation retentionAnnotation = (PsiAnnotation)infos[1];
      String text = getText((PsiClass)infos[0]);
      String runtimeRef = StringUtil.getQualifiedName("java.lang.annotation.RetentionPolicy", "RUNTIME");
      return LocalQuickFix.from(
        new ChangeAnnotationParameterQuickFix(retentionAnnotation, PsiAnnotation.DEFAULT_REFERENCED_METHOD_NAME, runtimeRef, text));
    }
    assert false;
    return null;
  }
@Override
  protected LocalQuickFix buildFix(Object... infos)