mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-12 21:37:00 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: e8ba3ee967f6d8b3534549b1a115b66fde3f57e5
20 lines
701 B
Java
20 lines
701 B
Java
// sync statement
|
|
|
|
class a {
|
|
void f() {
|
|
|
|
synchronized (<error descr="Incompatible types. Found: 'null', required: 'java.lang.Object'">null</error>) {
|
|
}
|
|
synchronized (<error descr="Incompatible types. Found: 'int', required: 'java.lang.Object'">0</error>) {
|
|
}
|
|
synchronized (<error descr="Incompatible types. Found: 'char', required: 'java.lang.Object'">'a'</error>) {
|
|
}
|
|
synchronized (<error descr="Incompatible types. Found: 'boolean', required: 'java.lang.Object'">true</error>) {
|
|
}
|
|
synchronized (System.out.<error descr="Incompatible types. Found: 'void', required: 'java.lang.Object'">println</error>() ) {
|
|
}
|
|
|
|
|
|
}
|
|
|
|
} |