Alain, Currently IDEA can create classes only form "new" statement.
Best regards, Mike Aizatsky. ------------------------------ JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Alain Ravet > Sent: Wednesday, March 27, 2002 8:57 PM > To: [EMAIL PROTECTED] > Subject: [Eap-list] unable to create class by intention if.. > > If you type the code below, > > Statistics s = result.getStatistics(); > ^^^^^^^^^^^^ ^^^^^^^^^^^^ > , > and if neither Statistics nor getStatistics() exist, > > IDEA will create > public Statistics getStatistics () > { > return null; > } > > but not the class Statistics. > > > If you modify the code to > Statistics s = new Statistics(); > s = result.getStatistics(); > > , IDEA will create both the method and the class for you. > > > Alain Ravet > > > _______________________________________________ > 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
