`// This rule specifies whether you are allowed to have
// conditional expressions.
// A conditional expression is a construct from C/C++
// where it was (mainly) used in macros.
// They help in making short 'if' statements but are
// somewhat hard to read for the beginner.
// conditional expression
...
String name = (! checkFieldEmpty(mNameField) ?
mNameField.getText() : "");
// the same with an if/else statement
...
String name = null;
if (checkFieldEmpty(mNameField))
{
name = mNameField.getText();
}
else
{
name = "";
}`