Field getCorrespondingField ( Class type , Method method ) { try { return type . getDeclaredField ( GetterUtilities . getFieldName ( method ) ) ; } catch ( NoSuchFieldException e ) { return null ; } }
Helper method for getting a corresponsing field for a method