mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 19:49:44 +07:00
InstructionVisitor#beforeExpressionPush method which is called before every push of PsiExpression result (were it simple reference, operation or method call)
CustomMethodHandlers: do not modify states; only return resulting value (current handlers do not produce more than one value)
Xor polyadic now supports reporting for subexpressions
(cherry picked from commit 3e4cd658e9)
12 lines
422 B
Java
12 lines
422 B
Java
import java.util.List;
|
|
|
|
class Some {
|
|
|
|
public static void main(String[] args) {
|
|
boolean x = true, y = true, z = true, t = true;
|
|
boolean r = <warning descr="Condition 'x ^ y ^ z ^ t' is always 'false'"><warning descr="Condition 'x ^ y ^ z' is always 'true'"><warning descr="Condition 'x ^ y' is always 'false'">x ^ y</warning> ^ z</warning> ^ t</warning>;
|
|
System.out.println("r: " + r);
|
|
}
|
|
|
|
}
|