mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
only return token from getTokenBeforeOperand() if argument is actual right operand and make it @Nullable
This commit is contained in:
@@ -17,6 +17,7 @@ package com.intellij.psi;
|
||||
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* User: cdr
|
||||
@@ -26,5 +27,7 @@ public interface PsiPolyadicExpression extends PsiExpression {
|
||||
|
||||
@NotNull
|
||||
IElementType getOperationTokenType();
|
||||
|
||||
@Nullable
|
||||
PsiJavaToken getTokenBeforeOperand(@NotNull PsiExpression operand);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user