code: public static Class getPropertyType(Class<?> beanClass, String property){
          Method getter = getGetterMethod(beanClass, property);
          if(getter==null)
              return null;
          else
              return getter.getReturnType();
      }
docs: Returns the type of <code>property</code> in given <code>beanClass</code>
  
  @param beanClass bean class
  @param property  name of the property
  
  @return  null if the property is not found. otherwise returns the type of the <code>property</code>