boolean (Description description) { final String descriptionMethodName = description.getMethodName(); //filter by params if (parameterString != null && descriptionMethodName != null && !descriptionMethodName.endsWith(parameterString)) { return false; } //filter only selected method if (methodName != null && descriptionMethodName != null && !descriptionMethodName.equals(methodName) && //If fork mode is used, a parameter is included in the name itself !isParameterizedMethodName(descriptionMethodName, methodName)) { return false; } return true; }