mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[java-inspections] Experimental ModCommand-based DeletePrivateMethodFix for unused inspection
GitOrigin-RevId: efd9306505048695f1aa1de1851383e170b0c1ca
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b9d88ce85d
commit
193b2cb477
@@ -405,6 +405,12 @@ public abstract class QuickFixFactory {
|
||||
@NotNull
|
||||
public abstract IntentionAction createSafeDeleteFix(@NotNull PsiElement element);
|
||||
|
||||
/**
|
||||
* @param method method to delete
|
||||
* @return a fix to remove private method, possibly along with called methods unused elsewhere
|
||||
*/
|
||||
public abstract @NotNull ModCommandAction createDeletePrivateMethodFix(@NotNull PsiMethod method);
|
||||
|
||||
public abstract @NotNull List<@NotNull LocalQuickFix> registerOrderEntryFixes(@NotNull PsiReference reference,
|
||||
@NotNull List<? super IntentionAction> registrar);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user