// resolve method group name based on the methodGrouping in the annotation
String methodGroupName = null;
switch (annotation.methodGrouping()) {
case GROUPED:
methodGroupName = annotation.groupName();
break;
case UNGROUPED:
methodGroupName = methodSignature.toString();
break;
default: