I have also found an example of this in some jdk1.4 sources, but don't 
know if it applies to earlier versions.

The example I saw was something like:

The method separator is between the javadoc and the "//" comment - as 
several earlier discussion's about separator placement said it would be.

        /** 
         * Test javadoc
         */ 
        // TODO: xxx
        private void test() {}

This seems to be legal (at least in 1.4): javadoc sees and creates the 
"Test javadoc" for the method.


By chance, I did another test and two (wrong?) situations arise:

If the "//" comment is on the left column, the separator ignores all 
comments and is just over the method.

If the "//" comment isn't on the left column, the separator is over the 
"//" comment.

Carlos

> 
> Please send sample code where this effect appears.
> 
> Best regards,
> Valentin Kipiatkov
> 
> ----- Original Message -----
> From: "Graham Lea" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 18, 2002 7:03 AM
> Subject: [Eap-list] Method separators preceding static
> 
> 
> > I have method separators turned on, and comments before a 
> static block
> > (describing the contents of the static block), and the 
> method separator is
> > between the comment and the static keyword.
> >
> > Graham Lea


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

Reply via email to