mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
historical typo fixed: getDependences
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package com.intellij.psi.meta;
|
||||
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.util.ArrayUtil;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -41,5 +42,15 @@ public interface PsiMetaData {
|
||||
* @see com.intellij.psi.util.CachedValue
|
||||
*/
|
||||
@NotNull
|
||||
Object[] getDependences();
|
||||
default Object[] getDependencies() {
|
||||
//noinspection deprecation
|
||||
return getDependences();
|
||||
}
|
||||
|
||||
/** @deprecated use {@link PsiMetaData#getDependencies()} */
|
||||
@Deprecated
|
||||
@NotNull
|
||||
default Object[] getDependences() {
|
||||
return ArrayUtil.EMPTY_OBJECT_ARRAY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user