For example, java.lang.Double is annotated with jdk.internal.ValueBased, so the following code will produce a compile-time warning
jdk.internal.ValueBased
Double d = 20.0; synchronized (d) { ... } // javac warning
Since 2021.1