mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
This patch adds the inspection to detect usages of value-based classes' instances as monitors in the synchronize statement. Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com> GitOrigin-RevId: 178533c1415b2a8f11d48db17c19baa7e6ff4d1a
11 lines
288 B
Java
11 lines
288 B
Java
package jdk.internal;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
import static java.lang.annotation.ElementType.TYPE;
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(value={TYPE})
|
|
public @interface ValueBased { } |