final PsiNameValuePair[] attributes = newAnnotation.getParameterList().getAttributes();
final BuildNumber buildNumber = ApplicationInfo.getInstance().getBuild();
switch (IntelliJVersionRangeUtil.getIntelliJVersion(buildNumber)) {
case INTELLIJ_8:
throw new RuntimeException(String.format("This version (%s) of IntelliJ is not supported!", buildNumber.asString()));
case INTELLIJ_9:
return new LombokAnnotationQuickFix9Impl(annotationFQN, psiClass, attributes);
case INTELLIJ_10:
case INTELLIJ_10_5:
return new LombokAnnotationQuickFix10Impl(annotationFQN, psiClass, attributes);