Thanks Mark, you are quite right. Moreover, there is Add Entry Point avaliable under Tools in main menu when inspection results are shown. This allows you to add entry points in more convinient way. For example you may want to make each subclass of the class called Foo an entry point. Thus, you may do a Find Usages (check extending classes) on Foo then select all the results in usages view and click Tools/Add Entry Point.
----- Original Message ----- From: "Mark Swinkels" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 3:52 AM Subject: RE: [Eap-list] Unreachable code flagging main method > There is an option in the code inspection dialog to automatically add all > main methods as entry points. You can also right click on any method marked > as unreachable and click "Add as entry point". > > -- Mark > > -----Original Message----- > From: Timothy M. Dean [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 03:28p > To: [EMAIL PROTECTED] > Subject: [Eap-list] Unreachable code flagging main method > > > Build #611 > JDK 1.3.1 > Win 2K > > I have a project with a main method in one of the classes. The editor > doesn't flag this menu as unused, but when I execute the code inspection > feature my main method is marked as unused. It seems like the main > method should not be flagged as unused, at least if the main has been > identified within the run configuration of my project. > > - Tim > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
