Icon (@Nullable JsonSchemaType type) { if (type == null) { return IconManager.getInstance().getPlatformIcon(PlatformIcons.Property); } return switch (type) { case _object -> AllIcons.Json.Object; case _array -> AllIcons.Json.Array; default -> IconManager.getInstance().getPlatformIcon(PlatformIcons.Property); }; }