public static Type forValue(Object value){
  return Type.forClass(value.getClass());
}

public static Type forValue ( Object value ) { return Type . forClass ( value . getClass ( ) ) ; }
returns the type for the given object reference .
