code: public static Class<?> isTypeOf(TypeMirror type, List<Class<?>> classList) {
  
      for (Class<?> c : classList) {
        if (isTypeOf(type, c)) {
          return c;
        }
      }
  
      return null;
    }
docs: Returns the class this element is part of