String ( @NotNull String protocol, @NotNull String className, @Nullable String methodName, @Nullable String paramName ) { var baseUrl = protocol + URLUtil.SCHEME_SEPARATOR; if (methodName == null) { return baseUrl + className; } methodName = StringUtil.trimEnd(methodName, "()"); if (paramName == null) { return baseUrl + className + "/" + methodName; } return baseUrl + className + "/" + methodName + paramName; }