protected String describe ( final And and ) { final List < FieldExpression > expressions = new ArrayList <> ( ) ; final List < FieldExpression > onExpressions = new ArrayList <> ( ) ; for ( final FieldExpression fieldExpression : and . getExpressions ( ) ) { if ( fieldExpression instanceof On ) { onExpressions . add ( fieldExpression ) ; } else { expressions . add ( fieldExpression ) ; } } final StringBuilder builder = new StringBuilder ( ) ; if ( ! onExpressions . isEmpty ( ) ) { builder . append ( bundle . getString ( "at" ) ) ; createAndDescription ( builder , onExpressions ) ; } if ( ! expressions . isEmpty ( ) ) { createAndDescription ( builder , expressions ) ; } return builder . toString ( ) ; }
Provide a human readable description for And instance .