@Nullable

This commit is contained in:
Dmitry Avdeev
2012-02-10 12:27:44 +04:00
parent 5e845dc4e3
commit 0f05df9e75
@@ -33,6 +33,7 @@ import com.intellij.psi.PsiElement;
import org.jdom.Element;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface HighlightInfoType {
@NonNls String UNUSED_SYMBOL_SHORT_NAME = "UNUSED_SYMBOL";
@@ -92,7 +93,7 @@ public interface HighlightInfoType {
HighlightInfoType INJECTED_LANGUAGE_FRAGMENT = new HighlightInfoTypeImpl(SYMBOL_TYPE_SEVERITY, CodeInsightColors.INFORMATION_ATTRIBUTES);
@NotNull
HighlightSeverity getSeverity(PsiElement psiElement);
HighlightSeverity getSeverity(@Nullable PsiElement psiElement);
TextAttributesKey getAttributesKey();