Most obfuscators start at a single entry point and construct a tree of all classes accessible from that point. There may be a problem when this tree is expanded and reach a native method (not java). So the obfuscator tries to extract information, through the reflection mechanism, from a resource it "thinks" it is a Java class, and then it gets an error. The Wireless Toolkit Engineering Team had this same problem in the Sun WirelessToolkit and to avoid it, they have created an "emptied out" MIDP API, that is, a MIDP API without the native methods. But I want to obfuscate source code which uses Nokia proprietary API, besides the classes defined in CLDC and MIDP. And these proprietary classes probably call native methods. So how can I solve that? How can I avoid the obfuscator to stop in these native calls?
Thanks in advance