I refactor my code and I am looking for a solution to grep my source files for something like
if ( user && user.name && user.name.length() < 128 ) ...
in order to replace it later with ruby's andand or groovy's ?. operator (safe navigation operator).