newInstanceMethod = ObjectInputStream.class.getDeclaredMethod("newInstance", Class.class,
Boolean.TYPE);
newInstanceMethod.setAccessible(true);
}
catch(RuntimeException e) {
throw new ObjenesisException(e);
}
catch(NoSuchMethodException e) {
throw new ObjenesisException(e);
}
}