code: @Nullable
      Object resolveTypeReference(Element element) {
          if (element instanceof TypeElement) {
              TypeElement typeElement = (TypeElement) element;
              return resolveTypeReferenceForTypeElement(typeElement);
          }
          return null;
      }
docs: Resolves a type reference for the given element. A type reference is either a reference to the concrete
  {@link Class} or a String representing the type name.
  
  @param element The element
  @return The type reference