+1

Kirk

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:eap-features-
>[EMAIL PROTECTED]] On Behalf Of Thomas Singer
>Sent: Thursday, February 28, 2002 9:55 AM
>To: [EMAIL PROTECTED]
>Subject: [Eap-features] Change type refactoring
>
>If you have following piece of code:
>
>   public JTextComponent getTextComponent() {
>     JTextField textField = new JTextField();
>     textField.selectAll();
>     return textField;
>   }
>
>it would be fine to go set the cursor of the JTextField type definition
>(not the constructor!) and invoke "Change Type". This checks all usages
>of
>the variable (read and write) and offers you a list of possible types,
>that
>would not break the code. In the above example, I would like to get
>JTextComponent and JTextField offered but in more complex code, there
>could
>be much more.
>
>The same would be useful for the return value of methods.
>
>Tom
>
>
>_______________________________________________
>Eap-features mailing list
>[EMAIL PROTECTED]
>http://www.intellij.com/mailman/listinfo/eap-features


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to