java - Android - how to add @hide annotation in my project -


I am developing SDK, and I would like to use @ride annotation for methods / classes, which I do not want To be visible to the user using my SDK (as it is)

I tried to add @ round annotations only but I noticed that nothing happens in the sections of my internal SDK / @ Hyde annotation for encapsulating methods What should I do to use any other similar solution?

In the Android SDK, the use of @heide annotations only Is done when creating a stub version of android.jar . Collected-time symbols are imported from this stub jar and only non-hidden icons are available. The device or the emulator symbolizes symbols in the platform libraries in a timely manner and can be viewed for example by reflection.

If there is only one jar file in your SDK or something like that, then in reality no one can hide the symbols in it.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -