I am looking for method to show code assist without source code. I know, its not so easy.
I must prepare new api for customers. I want to give them code assist but i dont want do give complete source code. My company want give whole source code. I am looking for any solution.
You can build the jar of class files and then distribute. But it is still possible to decompile it.
Or you can strip of all the code in functions and other private members in all classes. You can then distribute these source files.
I am not aware of any automation tool which can help to strip the code for you. But you can use javap command which can generate the skeleton for each class.
In the IDEs I'm familiar with, the primary code assist comes from introspecting the class files, I believe. Then if there's a doc directory, the IDE can reference the corresponding javadocs. Source code would be optional.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad: