838485868788899091929394
{ return getGetter(path).invoke(bean); } catch (IllegalAccessException e) { throw new UnknownPropertyException(path); } catch (InvocationTargetException e) { throw new UnknownPropertyException(path); } }
106107108109110111112113114115116117
{ setter.invoke(bean, value); } catch (IllegalAccessException e) { throw new UnknownPropertyException(path); } catch (InvocationTargetException e) { throw new UnknownPropertyException(path); } }
157158159160161162163164165
// should really test it's return type is boolean... return findMethod("is" + capitalise(path.getPropertyName())); } catch (NoSuchMethodException e1) { throw new UnknownPropertyException(path); } } }