I'm working on another language compiler to java. In order for it to work correctly, I needed to generate some extra fields and methods, which need to be public so they can be accessed from anywhere.
Is there any way I can annotate a field to do not appear in auto-completion, so it doesn't clutter with useless (for the end-user) fields?
Something like System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) on .NET (reference : https://stackoverflow.com/questions/5146607/is-it-possible-to-hide-a-field-or-just-manipulate-hide-from-autocomplete-withi )
Thank you! May be too late but are you sure you really want to target Java and not JVM bytecode? Most modern JVM langauges target the JVM directly without going through the intermediate step of Java.....
以上就是Is it possible to hide a public field from auto-complete? (Eclipse/Java)的详细内容，更多请关注web前端其它相关文章！