[json] API cleanup: mark deprecated unused API for removal (IJPL-156972)

Deprecated APIs which still have internal usage are marked as internal to ensure that new external usages won't appear.

GitOrigin-RevId: 8c49669e8cc5238cd2a0ef6632d0fa0aa559ce4b
This commit is contained in:
Nikolay Chashnikov
2024-10-10 20:40:00 +02:00
committed by intellij-monorepo-bot
parent 4b7d75d8f5
commit df3e571577

View File

@@ -196,7 +196,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObjectReadingUtils#guessType}
*/
@Deprecated
@Deprecated(forRemoval = true)
public @Nullable JsonSchemaType guessType() {
return JsonSchemaObjectReadingUtils.guessType(this);
}
@@ -204,7 +204,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObjectReadingUtils#hasStringChecks}
*/
@Deprecated
@Deprecated(forRemoval = true)
public boolean hasStringChecks() {
return JsonSchemaObjectReadingUtils.hasStringChecks(this);
}
@@ -212,7 +212,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObjectReadingUtils#hasNumericChecks}
*/
@Deprecated
@Deprecated(forRemoval = true)
public boolean hasNumericChecks() {
return JsonSchemaObjectReadingUtils.hasNumericChecks(this);
}
@@ -220,7 +220,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObjectReadingUtils#hasArrayChecks}
*/
@Deprecated
@Deprecated(forRemoval = true)
public boolean hasArrayChecks() {
return JsonSchemaObjectReadingUtils.hasArrayChecks(this);
}
@@ -228,7 +228,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObjectReadingUtils#hasObjectChecks}
*/
@Deprecated
@Deprecated(forRemoval = true)
public boolean hasObjectChecks() {
return JsonSchemaObjectReadingUtils.hasObjectChecks(this);
}
@@ -244,6 +244,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObject#getPropertyNames} and {@link JsonSchemaObject#getPropertyByName}
*/
@ApiStatus.Internal
@Deprecated
public abstract @NotNull Map<String, ? extends JsonSchemaObject> getProperties();
@@ -292,6 +293,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated use {@link JsonSchemaObject#getDefinitionNames} and {@link JsonSchemaObject#getDefinitionByName}
*/
@ApiStatus.Internal
@Deprecated
public abstract @Nullable Map<String, ? extends JsonSchemaObject> getDefinitionsMap();
@@ -304,6 +306,7 @@ public abstract class JsonSchemaObject {
/**
* @deprecated Do not use
*/
@ApiStatus.Internal
@Deprecated
public abstract @Nullable JsonSchemaType mergeTypes(@Nullable JsonSchemaType selfType,
@Nullable JsonSchemaType otherType,
@@ -312,12 +315,14 @@ public abstract class JsonSchemaObject {
/**
* @deprecated Do not use
*/
@ApiStatus.Internal
@Deprecated
public abstract Set<JsonSchemaType> mergeTypeVariantSets(@Nullable Set<JsonSchemaType> self, @Nullable Set<JsonSchemaType> other);
/**
* @deprecated Do not use
*/
@ApiStatus.Internal
@Deprecated
public abstract void mergeValues(@NotNull JsonSchemaObject other);
}