add fn to strip @Deprecated methods from generated JNA bindings