5

My team would like to be able to clearly see which classes in a package are public. Unfortunately there seems to be no visual indication of this in the Netbeans project view. Is there any way of adding the behaviour we want? If not, will the plugin API allow me to write a plugin which adds this behaviour myself?

Alternatively, what other solutions are there to get a basic high-level look at the visibility and dependants of classes in a package? Going in to each class, checking its visibility, and doing a 'Find Usages' is not convenient.

MikeFHay
  • 8,562
  • 4
  • 31
  • 52

1 Answers1

1

I think, you want to check your class definitions, public or private. You can use Find window, search "public class", "private class" keyword, match case, whole word, and use file pattern "*.java". Maybe you want to use UML diagrams, there is a plugin for that.

EceL
  • 41
  • 4
  • Searching doesn't really help me. I thought of UML diagrams yesterday, and found out that the official UML plugin hasn't worked for about 5 versions! – MikeFHay Mar 19 '13 at 07:35
  • yes, you are right, i'm also waiting for new version support. Install netbeans 6, clone your project files, open your clone project in netbeans 6. And use UML plugin. I know this is very annoying... – EceL Mar 19 '13 at 16:05