mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Java: add explanation comment (IJ-CR-122378)
GitOrigin-RevId: 24e0be4499d3a8c54663235b17f32b35cbf87c98
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d0adc5895a
commit
68880a5c91
@@ -657,6 +657,8 @@ public final class HighlightClassUtil {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// no need to distract with missing constructor error when there is already a "Cannot inherit from final class" error message
|
||||
if (baseClass.hasModifierProperty(PsiModifier.FINAL)) return null;
|
||||
|
||||
String description = JavaErrorBundle.message("no.default.constructor.available", HighlightUtil.formatClass(baseClass));
|
||||
|
||||
Reference in New Issue
Block a user