mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] small cleanup
GitOrigin-RevId: bb3cca07c54a07d61ed42924c1c798c3caa6c11a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d19410735d
commit
8e6fa7b008
+4
-13
@@ -547,20 +547,11 @@ public final class HighlightMethodUtil {
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerStaticMethodQualifierFixes(@NotNull PsiMethodCallExpression methodCall, @Nullable HighlightInfo.Builder info) {
|
||||
private static void registerStaticMethodQualifierFixes(@NotNull PsiMethodCallExpression methodCall, @NotNull HighlightInfo.Builder info) {
|
||||
TextRange methodExpressionRange = methodCall.getMethodExpression().getTextRange();
|
||||
IntentionAction action2 = QuickFixFactory.getInstance().createStaticImportMethodFix(methodCall);
|
||||
if (info != null) {
|
||||
info.registerFix(action2, null, null, methodExpressionRange, null);
|
||||
}
|
||||
IntentionAction action1 = QuickFixFactory.getInstance().createQualifyStaticMethodCallFix(methodCall);
|
||||
if (info != null) {
|
||||
info.registerFix(action1, null, null, methodExpressionRange, null);
|
||||
}
|
||||
IntentionAction action = QuickFixFactory.getInstance().addMethodQualifierFix(methodCall);
|
||||
if (info != null) {
|
||||
info.registerFix(action, null, null, methodExpressionRange, null);
|
||||
}
|
||||
info.registerFix(QuickFixFactory.getInstance().createStaticImportMethodFix(methodCall), null, null, methodExpressionRange, null);
|
||||
info.registerFix(QuickFixFactory.getInstance().createQualifyStaticMethodCallFix(methodCall), null, null, methodExpressionRange, null);
|
||||
info.registerFix(QuickFixFactory.getInstance().addMethodQualifierFix(methodCall), null, null, methodExpressionRange, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user