[java] API cleanup: remove unused deprecated API (IDEA-322162)

GitOrigin-RevId: 8b8a875126194efe99989d51127072dd8e503d6e
This commit is contained in:
Nikolay Chashnikov
2023-09-11 13:25:31 +02:00
committed by intellij-monorepo-bot
parent 9385c980e0
commit d67bdd5b72
13 changed files with 1 additions and 127 deletions

View File

@@ -27,7 +27,6 @@ import com.intellij.util.ArrayUtilRt;
import com.intellij.util.CharTable;
import com.intellij.util.IncorrectOperationException;
import com.intellij.util.SmartList;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -384,15 +383,6 @@ public class PsiDocMethodOrFieldRef extends CompositePsiElement implements PsiDo
return PsiDocMethodOrFieldRef.this;
}
/**
* @deprecated use {@link #bindToText(StringBuffer)} instead
*/
@ApiStatus.ScheduledForRemoval
@Deprecated
public PsiElement bindToText(@SuppressWarnings("unused") PsiClass containingClass, StringBuffer newText) {
return bindToText(newText);
}
public PsiElement bindToText(StringBuffer newText) {
PsiElementFactory elementFactory = JavaPsiFacade.getElementFactory(getProject());
PsiComment comment = elementFactory.createCommentFromText(newText.toString(), null);