code: public final <T> Class<T> getTargetClass() {
          if (tt.targetType() instanceof Class) {
              @SuppressWarnings("unchecked")
              Class<T> temp = (Class<T>) tt.targetType();
              return temp;
          }
          String message = "%s cannot be casted to java.lang.Class";
          message = String.format(message, Util.objectToString(tt.targetType()));
          throw new UnsupportedOperationException(message);
      }
docs: Returns the {@link Class} object of the targetType.
  Assuming targeType is an instance of {@link Class},
  otherwise throws an {@link UnsupportedOperationException}.
  
  @return {@link Class} object of the targetType.
  @throws UnsupportedOperationException if targetType is not an instance of {@link Class}.