Reports the ternary condition operator. Some coding standards prohibit the use of the condition operator, in favor of if-else statements.

Use the first checkbox below to ignore simple assignments and returns and thus allow constructs like this:

    String s = (foo == null) ? "" : foo.toString();

Use the second checkbox below to ignore conditional expression in contexts where automatic replacement with an if statement is not possible. For example when the conditional expression is used as an argument to a super() constructor call.