I am preparing a Android Java Jar which has some public methods. My requirement is that I want to hide certain public methods in the jar, i.e. the developer should not be able to directly (He can in-directly use it through reflection) use these methods using the jar that I provide him/her.
In AOSP, I see this is done using @hide comment, but the same is not working for me.
Please advise me on this.