[xml] API cleanup: mark as internal deprecated API without external usages (IJPL-190638)

GitOrigin-RevId: 416adbad89f4488e83999e5410211f6c2c010e4b
This commit is contained in:
Nikolay Chashnikov
2025-10-03 23:44:30 +00:00
committed by intellij-monorepo-bot
parent 84ff2e0781
commit 2d1c5f3960
2 changed files with 6 additions and 0 deletions
@@ -2,6 +2,7 @@
package com.intellij.util.xml;
import com.intellij.codeInspection.util.InspectionMessage;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -32,6 +33,7 @@ public abstract class Converter<T> {
/**
* @deprecated not necessary for Integer, use {@link com.intellij.util.xml.converters.values.NumberValueConverter}
*/
@ApiStatus.Internal
@Deprecated
public static final Converter<Integer> INTEGER_CONVERTER = new Converter<>() {
@Override
@@ -59,6 +61,7 @@ public abstract class Converter<T> {
/**
* @deprecated unnecessary
*/
@ApiStatus.Internal
@Deprecated
public static final Converter<String> EMPTY_CONVERTER = new Converter<>() {
@Override
@@ -11,6 +11,7 @@ import com.intellij.psi.xml.XmlTag;
import com.intellij.util.text.NameUtilCore;
import com.intellij.util.xml.DomElement;
import com.intellij.util.xml.DomElementNavigationProvider;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -28,6 +29,7 @@ public abstract class AbstractDomGenerateProvider<T extends DomElement> extends
/**
* @deprecated Provide both action description and text, as they have different capitalization rules.
*/
@ApiStatus.Internal
@Deprecated(forRemoval = true)
public AbstractDomGenerateProvider(final @Nls String description, final Class<T> aClass) {
this(description, aClass, null);
@@ -36,6 +38,7 @@ public abstract class AbstractDomGenerateProvider<T extends DomElement> extends
/**
* @deprecated Provide both action description and text, as they have different capitalization rules.
*/
@ApiStatus.Internal
@Deprecated(forRemoval = true)
public AbstractDomGenerateProvider(final @Nls String description, final Class<T> aClass, @Nullable String mappingId) {
this(description, description, aClass, mappingId);