This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In some expression you can need to have extra parenthesis to clarify operands. Example : if (operandAquitecomplicated && otherOperand) {} -add clarifying parenthesis-> if ((operandAquitecomplicated) && (otherOperand)) {}
You could use a custom inspection. For example: <!description="Add extra parenthesis"> $operandAquitecomplicated && $otherOperand => ($operandAquitecomplicated) && ($otherOperand) ;;