private static boolean hasInlineAnnotation(@NotNull PyTargetExpression target) {
    return target.getAnnotationValue() != null || target.getTypeCommentAnnotation() != null;
  }
private static boolean hasInlineAnnotation(@NotNull PyTargetExpression target)