code: @SuppressWarnings("unchecked")
     public <T> Class<T> asClass(Class<T> defaultValue) {
        return as(Class.class, defaultValue);
     }
docs: As class.
  
  @param <T>          the type parameter
  @param defaultValue the default value
  @return The object as a class