MyProvider (@NotNull Project project, UserDefinedJsonSchemaConfiguration schema) { String relPath = schema.getRelativePathToSchema(); return new MyProvider(project, schema.getSchemaVersion(), schema.getName(), isAbsoluteUrl(relPath) || new File(relPath).isAbsolute() ? relPath : new File(project.getBasePath(), relPath).getAbsolutePath(), schema.getCalculatedPatterns()); }