/** * This is a simple class that demonstrate the * use of source-highlight to produce javadoc * embeddable code: * * *
* /* * this is an example of code to be included * in the javadoc documentation of SimpleClass * */ * import simpleclass.*; * * // code snippet * SimpleClass s = new SimpleClass(150); * if (s == null && true) { * throw new SimpleClassException("failed to create"); * } * System.out.println("this is a simple class" + s); ** * The previous example code was formatted with Source-highlight */ public class SimpleClass { // nothing interesting :-) }