String (String className, String maybeMethodName, boolean isTest) { String type = isTest ? "test" : "suite"; String methodName = maybeMethodName == null ? "" : "/" + maybeMethodName; String location = escapeName(className + methodName); return "java:" + type + "://" + location; }