@Override
  public @NotNull List<PsiAnnotationStub> getAnnotations() {
    List<StubElement<?>> children = getChildrenStubs();

    return ContainerUtil.mapNotNull(children,
                                    stubElement -> stubElement instanceof PsiAnnotationStub ? (PsiAnnotationStub)stubElement : null);
  }
@Override
  public @NotNull List<PsiAnnotationStub> getAnnotations()