Just an fyi: While it may be legit to use "final" for performance reasons
when writing for Java Micro Edition or the like, it's essentially ignored by
modern JITs (like Hotspot).  Good runtime compilers keep a constant graph of
the loaded classes in memory and can determine at runtime if it can treat a
method call as "final" or "static" or not.  So the use of "final" and
"static" (or big methods rather than lots of small ones) as a means of
optimization is obsolete.  There are valid software engineering reasons for
their use, but it's not performance.

That said, it would be a handy feature, though I can't see justifying more
than 10 minutes of IDEAs time to implement it...

+0

-Jim Moore


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Wangjammer5
Sent: Saturday, January 05, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: [Eap-features] req: "final" option for Insert Getter/Setter



Hi,

I can't seem to find this so assume it's not there - no option for making 
CTRL+I inserted getters/setters have the "final" modifier. Almost always
are final in much of my code... it's boring going and editing it in 
manually afterwards.

This is important for performance oriented code...

Cheers

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

Reply via email to