mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
do not highlight unused parameters for annotated methods (IDEA-75640)
This commit is contained in:
@@ -457,6 +457,7 @@ public class PostHighlightingPass extends TextEditorHighlightingPass {
|
||||
!method.hasModifierProperty(PsiModifier.NATIVE) &&
|
||||
!HighlightMethodUtil.isSerializationRelatedMethod(method, method.getContainingClass()) &&
|
||||
!PsiClassImplUtil.isMainMethod(method)) {
|
||||
if (UnusedSymbolLocalInspection.isInjected(method)) return null;
|
||||
HighlightInfo highlightInfo = checkUnusedParameter(parameter, progress);
|
||||
if (highlightInfo != null) {
|
||||
final ArrayList<IntentionAction> options = new ArrayList<IntentionAction>();
|
||||
|
||||
Reference in New Issue
Block a user