code: public static boolean hasInjectAnnotation(Element element) {
      for (AnnotationMirror annotationMirror : element.getAnnotationMirrors()) {
        String annotationQualifiedName = annotationMirror.getAnnotationType().toString();
        if (annotationQualifiedName.equals(Inject.class.getCanonicalName())) {
          return true;
        }
        if (annotationQualifiedName.equals("com.google.inject.Inject")) {
          return true;
        }
      }
      return false;
    }
docs: Check if the given element has an Inject annotation. Either the one from Google Gin, or the
  javax one. We don't want to depend on Gin, so we check the google one based on qualifiedName
  
  @param element The element we want to check
  @return True if has an Inject annotation, false otherwise