public static Class<?> getType(Object base, String p_expression) {
		Method declaredField = getGetter(base, p_expression);
		if (null != declaredField) {
			return declaredField.getReturnType();
		}
		return null;
	}
public static Class < ? > getType ( Object base , String p_expression ) { Method declaredField = getGetter ( base , p_expression ) ; if ( null != declaredField ) { return declaredField . getReturnType ( ) ; } return null ; }
Yields the type of the variable given by an expression.

@param p_expression
the expression
@return the type (as class)