if (!TypeUtil.isArray(pathPatterns) && !TypeUtil.isString(pathPatterns)) {
                throw new ArgumentBug(ArgumentBug.ILLEGAL, "observationPathPatterns", pathPatterns, "parameter must either be an Array or a string");
            }