Skip navigation links
  • Module
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    com.intellij.openapi.util.Comparing.equal(T[], T[])
    same as Arrays.equals(Object[], Object[])
    com.intellij.psi.templateLanguages.TemplateDataElementType.getTemplateDataInsertionTokens()
    Use TemplateDataElementType.isInsertionToken(IElementType, CharSequence) instead.
    com.intellij.util.ArrayUtil.equals(T[], T[], Comparator<? super T>)
    Use Arrays.equals(Object[], Object[], Comparator)
    com.intellij.util.IncorrectOperationException(String, Exception)
    use IncorrectOperationException(String, Throwable)
  • Deprecated Fields
    Field
    Description
    com.intellij.util.ArrayUtil.EMPTY_CHAR_SEQUENCE
    use Strings.EMPTY_CHAR_SEQUENCE instead
    com.intellij.util.containers.MultiMap.EMPTY
    Use MultiMap.empty()
  • Deprecated Methods
    Method
    Description
    com.intellij.openapi.progress.ProgressIndicator.finishNonCancelableSection()
    com.intellij.openapi.progress.ProgressIndicator.startNonCancelableSection()
    com.intellij.openapi.project.Project.getBasePath()
    com.intellij.openapi.util.Comparing.compare(boolean, boolean)
    use Boolean.compare(boolean, boolean) instead
    com.intellij.openapi.util.Comparing.compare(byte, byte)
    use Byte.compare(byte, byte) instead
    com.intellij.openapi.util.Comparing.compare(double, double)
    use Double.compare(double, double) instead
    com.intellij.openapi.util.Comparing.compare(int, int)
    use Integer.compare(int, int) instead
    com.intellij.openapi.util.Comparing.compare(long, long)
    use Long.compare(long, long) instead
    com.intellij.openapi.util.Comparing.equal(String, String)
    Use Objects.equals(Object, Object)
    com.intellij.openapi.util.Comparing.equal(T[], T[])
    same as Arrays.equals(Object[], Object[])
    com.intellij.psi.PsiElement.checkAdd(PsiElement)
    not all PSI implementations implement this method correctly.
    com.intellij.psi.PsiElement.checkDelete()
    not all PSI implementations implement this method correctly.
    com.intellij.psi.PsiFile.getPsiRoots()
    Use FileViewProvider#getAllFiles() instead.
    com.intellij.psi.templateLanguages.TemplateDataElementType.appendCurrentTemplateToken(StringBuilder, CharSequence, Lexer, TemplateDataElementType.RangeCollector)
    Override TemplateDataElementType.appendCurrentTemplateToken(int, CharSequence) instead.
    com.intellij.psi.templateLanguages.TemplateDataElementType.getTemplateDataInsertionTokens()
    Use TemplateDataElementType.isInsertionToken(IElementType, CharSequence) instead.
    com.intellij.util.ArrayUtil.equals(T[], T[], Comparator<? super T>)
    Use Arrays.equals(Object[], Object[], Comparator)
    com.intellij.util.containers.MultiMap.createMap()
    Pass map to constructor.
    com.intellij.util.containers.MultiMap.createSmart()
    Use MultiMap().
    com.intellij.util.containers.MultiMap.emptyInstance()
    Use MultiMap.empty()
    com.intellij.util.containers.MultiMap.removeValue(K, V)
    use MultiMap.remove(Object, Object) instead
    com.intellij.util.SmartList.getModificationCount()
    do not use
  • Deprecated Constructors
    Constructor
    Description
    com.intellij.util.IncorrectOperationException(String, Exception)
    use IncorrectOperationException(String, Throwable)