@ Override public String visit ( final Comparator op , final Void aVoid ) throws InvalidTypeException { String lhs = op . getLhsExpr ( ) . accept ( this , aVoid ) ; String rhs = op . getRhsExpr ( ) . accept ( this , aVoid ) ; return String . format ( "new %s(%s, %s)" , op . getClass ( ) . getSimpleName ( ) , lhs , rhs ) ; }
Generates the code for a new Comparator .