public Class<?> type(){
  if (isClass) {
    return (Class<?>)object;
  }
 else {
    return object.getClass();
  }
}

public Class < ? > type ( ) { if ( isClass ) { return ( Class < ? > ) object ; } else { return object . getClass ( ) ; } }
get the type of the wrapped object .
