ThreeState (@NotNull UserDefinedJsonSchemaConfiguration.Item itemLeft, @NotNull UserDefinedJsonSchemaConfiguration.Item itemRight) { if (itemLeft.isPattern() != itemRight.isPattern()) return ThreeState.NO; if (itemLeft.isPattern()) return comparePatterns(itemLeft, itemRight); return comparePaths(itemLeft, itemRight); }