[java-highlighting] SafeVarargs checks -> AnnotationChecker

Also, warnings are moved out to inspections
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 2292723fde787454467307c213ea38e730aa0ff5
This commit is contained in:
Tagir Valeev
2025-01-08 16:42:47 +00:00
committed by intellij-monorepo-bot
parent 6a2b751ffd
commit c7edfdbe4a
18 changed files with 250 additions and 151 deletions
@@ -611,3 +611,5 @@ inspection.message.expression.compared.to.itself.description=Expression is compa
intention.name.do.not.report.conditions.with.possible.side.effect=Do not report conditions with possible side-effect
dfa.find.cause.or.another=or {0}
dfa.find.cause.and.another=and {0}
safe.varargs.not.suppress.potentially.unsafe.operations=@SafeVarargs do not suppress potentially unsafe operations
safe.varargs.on.reifiable.type=@SafeVarargs is not applicable for reifiable types