Comments (Java Enterprise in a Nutshell) Book Home Java Enterprise in a Nutshell Search this book

10.3. Comments

Comments in IDL follow the format of C, C++, and Java comments. A block comment starts with the character sequence /* and ends with the character sequence */. A line comment begins with the character sequence //, and ends at the end of the line on which it begins.

10.3.1. Mapping Comments to Java

There are no rules for mapping IDL comments to Java. Many IDL-to-Java compilers simply drop comments from IDL files during the conversion to Java, since in many cases the comments refer to the IDL code and may not be totally relevant in the generated Java code.



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.