7071727374757677
private Method getSetMethod(Object o, String fieldName) throws SalsaCopyException { try { return getAccessporMethod("set", o, fieldName); } catch (Exception e) { throw new SalsaCopyException(e.getMessage(), e); } }
110111112113114115116117
try { Class<?> c = o.getClass(); return getField(c, fieldName); } catch (Exception e) { throw new SalsaCopyException(e.getMessage(), e); } }
6364656667686970
private Method getGetMethod(Object o, String fieldName) throws SalsaCopyException { try { return getAccessporMethod("get", o, fieldName); } catch (Exception e) { throw new SalsaCopyException(e.getMessage(), e); } }
7172737475767778
private Field getField(Object o, String fieldName) throws SalsaCopyException { try { Class<?> c = o.getClass(); return getField(c, fieldName); } catch (Exception e) { throw new SalsaCopyException(e.getMessage(), e); } }