Home | Manual |
This page generated: 20120315-0623

Controls how Jalopy handles certain types of comments.

As far as Jalopy is concerned, there are five types of comments:

  1. Single-line comments // text

    An end-of-line comment: all text from the ASCII characters // to the end of the line


  2. Multi-line comments /* text */

    A traditional comment: all text from the ASCII characters /* to the ASCII characters */


  3. Javadoc comments /** text */

    A documentation comment: actually a special kind of multi-line comment as defined by the Sun Javadoc specification; all text from the ASCII characters /** to the ASCII characters */


  4. Separator comments //~ text

    A Jalopy-specific separator comment: actually a special kind of single-line comment; all text from the ASCII characters //~ to the end of the line


  5. Pragma comments //J[directive]

    A Jalopy-specific control comment: actually a special kind of single-line comment; all text from the ASCII characters //J[-|+] to the end of the line


    Currently, Jalopy recognizes two pragma comments: //J- and //J+

    With these comments you can disable formatting for certain code sections. //J- tells Jalopy to disable formatting until //J+ will enable it again. Note that these comments can only be used in conjunction! Omitting the //J+ will certainly produce errors.

to top