return overloadedMethods;
}
private static JMethod getBeginMethod(JClassType type, JMethod method) {
Setup setup = method.getAnnotation(Setup.class);
String methodName;
if (setup != null) {
methodName = setup.value();
} else {
methodName = new StringBuffer(method.getName()).replace(0,
"test".length(), BEGIN_PREFIX).toString();
}
return getMethod(type, methodName);