@Override
  public PsiAnnotation @NotNull [] getAnnotations() {
    PsiAnnotation[] annotations = myRecordComponent.getAnnotations();
    if (annotations.length == 0) return annotations;
    return StreamEx.of(annotations).filter(
        anno -> AnnotationTargetUtil.findAnnotationTarget(anno, myTargets) != null)
      .toArray(PsiAnnotation.EMPTY_ARRAY);
  }
@Override
  public PsiAnnotation @NotNull [] getAnnotations()