I have two sets of Java API's doing the same job but targeting different system platforms, all their API function definitions are exactly the same except that they have different package names (and they do not implement the same interface). I'm not free enough to change the code of the API, so I can not make them implement any interface.
I want to write code above these APIs and want to have these code to be usable for both API sets (similar to the strategy design pattern).
What is the best way to achieve this? I do not want to make a interface and adapter classes because there are over 20 API methods.