[java] IDEA-379571 Improve PsiPackageStatement.getAnnotationList() so it never returns null value.

#IDEA-379571 Fixed
Merge-request: IJ-MR-176432
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: 0d575fd55751ccac0b098b189ba3e90bbb081299
This commit is contained in:
Marcin Mikosik
2025-09-26 08:03:20 +00:00
committed by intellij-monorepo-bot
parent a8569ff41b
commit 2ea0d03d4d
67 changed files with 160 additions and 63 deletions
@@ -40,5 +40,5 @@ public interface PsiPackageStatement extends PsiElement {
*
* @return the modifier list containing the annotations applied to the package statement.
*/
PsiModifierList getAnnotationList();
@NotNull PsiModifierList getAnnotationList();
}