mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
18 lines
297 B
Java
18 lines
297 B
Java
// "Suppress for statement" "true"
|
|
|
|
class Main {
|
|
final OpenValueBased vb = new OpenValueBased(){};
|
|
|
|
void f(){
|
|
new OpenValueBased() {
|
|
{
|
|
//noinspection synchronization
|
|
synchronized (vb){ }
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
@jdk.internal.ValueBased
|
|
interface OpenValueBased { }
|