void (VirtualFile virtualFile) { UserDefinedJsonSchemaConfiguration existingMapping = findMappingForFile(virtualFile); if (existingMapping != null) { removeConfiguration(existingMapping); } addConfiguration(createIgnoreSchema(virtualFile.getUrl())); }