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

Reply via email to