mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-80374 - IAE: QuickFixFactoryImpl.createMethodReturnFix
This commit is contained in:
+5
-3
@@ -461,9 +461,11 @@ public class HighlightMethodUtil {
|
||||
//ensure type params are not included
|
||||
methodCallTypeByArgs = JavaPsiFacade.getElementFactory(method.getProject())
|
||||
.createRawSubstitutor(method).substitute(methodCallTypeByArgs);
|
||||
QuickFixAction.registerQuickFixAction(highlightInfo,
|
||||
getFixRange(methodCall),
|
||||
QUICK_FIX_FACTORY.createMethodReturnFix(containerMethod, methodCallTypeByArgs, true));
|
||||
if (methodCallTypeByArgs != null) {
|
||||
QuickFixAction.registerQuickFixAction(highlightInfo,
|
||||
getFixRange(methodCall),
|
||||
QUICK_FIX_FACTORY.createMethodReturnFix(containerMethod, methodCallTypeByArgs, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user