private static DataPointsHolder extractDataPointsHolder(final @NotNull PsiIdentifier element) {
    final PsiElement maybeHolder = element.getParent();
    if (!(maybeHolder instanceof PsiMethod || maybeHolder instanceof PsiField)) {
      return null;
    }
    final PsiMember holder = (PsiMember)maybeHolder;
    final PsiAnnotation annotation = AnnotationUtil.findAnnotation(holder, DATA_POINT_FQN, DATA_POINTS_FQN);
    return annotation == null ? null : new DataPointsHolder(holder, annotation);
  }
private static DataPointsHolder extractDataPointsHolder(final @NotNull PsiIdentifier element)