code: public static ParenthesizedCondition getInstance(Condition condition) {
          return condition instanceof ParenthesizedCondition ? (ParenthesizedCondition) condition
                  : new ParenthesizedCondition(condition);
      }
docs: Returns a parenthesized condition for the given condition if the given
  condition is not already a parenthesized condition; or the original
  condition otherwise.