IDEA-380160 java: Add an inspection for Math.clamp()

For what it should have been, the final code feels a bit over-engineered.

GitOrigin-RevId: 893e1fb82670568ef3fbf5106b132e4891b276cf
This commit is contained in:
Mathias
2026-02-13 13:37:41 +00:00
committed by intellij-monorepo-bot
parent 45b4219faf
commit 7dd10b82b1
19 changed files with 1159 additions and 0 deletions
@@ -826,3 +826,5 @@ inline.popup.ignore.conflicts=Ignore writes and continue
inline.warning.variables.used.in.initializer.are.updated=Unsafe Inline: Variables Used in Initializer Are Updated
dialog.title.resolving.method.implementation=Resolving Method Implementation
dialog.message.confirmation.to.process.only.implementation=An implementation of abstract method is found:<br><br><b>{0}</b><br><br>Do you want to inline this implementation?
0.as.target=''{0}'' as target