public static < M > M getFieldValue ( Object containingObject , String fieldName , Class < M > fieldClass ) { return getFieldValue ( containingObject . getClass ( ) , containingObject , fieldName , fieldClass ) ; }
Returns value of a fieldName in an object .