@ixtab, in thread about
kindlepdfviewer there was a discussion about KPVBooklet, relying on some stock Amazon Java classes. It
searches required method in class by it's signature, so it can resist to obfuscation. Maybe this way will be suitable for some of your patches.