mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JvmElementApi: getSourceElement for PsiAnnotation and PsiModifierListOwner made @Nullable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user