private static Flow isMethodFlowAnnotated(@NotNull PsiMethod method) {
    return AnnotationUtil.findAnnotationInHierarchy(method, Flow.class);
  }
private static Flow isMethodFlowAnnotated(@NotNull PsiMethod method)