JvmElementApi: getSourceElement for PsiAnnotation and PsiModifierListOwner made @Nullable

This commit is contained in:
Nicolay Mitropolsky
2018-03-06 12:30:39 +03:00
parent 20b333eaca
commit 831cede1c5
2 changed files with 2 additions and 2 deletions
@@ -112,7 +112,7 @@ public interface PsiAnnotation extends PsiAnnotationMemberValue, PsiMetaOwner, J
@Nullable
PsiAnnotationOwner getOwner();
@NotNull
@Nullable
@Override
default PsiElement getSourceElement() {
return this;
@@ -59,7 +59,7 @@ public interface PsiModifierListOwner extends PsiElement, JvmModifiersOwner {
return getListModifiers(this);
}
@NotNull
@Nullable
@Override
default PsiElement getSourceElement() {
return this;