Win2k Sp2, JDK 131_02

I have a class that extends nothing directly and in the constructor I make a
call to super();

The code is parsed and I get the "green light" that tells me there are no
problems (compiles cleanly, too).  However, when I position the cursor
somewhere along the string "super" IDEA flips me the lightbulb.  Note that
nothing was highlighted red, but still the lightbulb shows up.

The suggestion given is:  Create method 'super'

For giggles I tried it and my curiosity was rewarded with an error message:
Internal error occured
(BTW, this should be "occurred".)

Also I saw this immediately after on the console:

[13214181]  ERROR -                    codeInsight -
com.intellij.util.p: "super" is not an identifier.
        at com.intellij.psi.impl.g.a(g.java:26)
        at com.intellij.psi.impl.k.b(k.java:134)
        at com.intellij.codeInsight.intention.v.b(v.java:5)
        at com.intellij.codeInsight.intention.s.b(s.java:51)
        at com.intellij.codeInsight.intention.ba.run(ba.java:2)
        at com.intellij.psi.impl.o.run(o.java:16)
        at com.intellij.vfs.VirtualFileManager.b(VirtualFileManager.java:18)
        at com.intellij.psi.impl.v.c(v.java:310)
        at com.intellij.codeInsight.intention.z.run(z.java:1)
        at com.intellij.command.a.b.a(b.java:32)
        at com.intellij.codeInsight.intention.y.run(y.java:2)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:98)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)


-sms

-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 


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

Reply via email to