The following types of expressions can be evaluated:
Supported expression type | Operator |
static and nonstatic field selection | dot (.) |
identification of a nested class, as A.B | dot (.) |
array subscripting | [ ] |
conditional expression | ? : |
logical expressions | && || ! |
bitwise expressions | & | ^ ~ |
shift expressions | << >> >>> |
arithmetic expressions | + - * / % |
unary expressions | unary+ unary - |
string concatenation | + |
array length | ".length" |
comparison expressions | < > <= >= == != |