boolean (GrMethodCall call, String methodName) { final GrExpression expression = call.getInvokedExpression(); return expression instanceof GrReferenceExpression && methodName.equals(expression.getText().trim()); }