Java inspection: Added a fix for single-value annotations where the annotation doesn't have a 'value()' method and therefore "Expand Annotation to Normal Form" fix couldn't be applied (IDEA-158456, IDEA-157727)

This commit is contained in:
Pavel Dolgov
2016-07-20 13:33:13 +03:00
parent e261b412a4
commit 3773948686
16 changed files with 309 additions and 2 deletions
@@ -273,4 +273,7 @@ public abstract class QuickFixFactory {
public abstract IntentionAction createWrapWithOptionalFix(@Nullable PsiType type, @NotNull PsiExpression expression);
public abstract IntentionAction createNotIterableForEachLoopFix(PsiExpression expression);
@NotNull
public abstract List<IntentionAction> createAddAnnotationAttributeNameFixes(PsiNameValuePair pair);
}