public static < T > T getPropertyValue ( final Object instance , final String fieldName ) { try { return ( T ) PropertyUtils . getProperty ( instance , fieldName ) ; } catch ( final Exception e ) { throw new RuntimeException ( e ) ; } }
Gets the property value .