mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check protected 'serializable' methods (IDEA-74261)
This commit is contained in:
@@ -484,9 +484,9 @@ public class PostHighlightingPass extends TextEditorHighlightingPass {
|
||||
HighlightInfoType highlightInfoType = HighlightInfoType.UNUSED_SYMBOL;
|
||||
HighlightDisplayKey highlightDisplayKey = myUnusedSymbolKey;
|
||||
|
||||
if (HighlightMethodUtil.isSerializationRelatedMethod(method, containingClass)) return null;
|
||||
if (isPrivate) {
|
||||
if (HighlightMethodUtil.isSerializationRelatedMethod(method, containingClass) ||
|
||||
isIntentionalPrivateConstructor(method, containingClass)) {
|
||||
if (isIntentionalPrivateConstructor(method, containingClass)) {
|
||||
return null;
|
||||
}
|
||||
if (isImplicitUsage(method, progress)) {
|
||||
|
||||
Reference in New Issue
Block a user