Compiler Error J0229

Expected string constant

The compiler detected that a string constant parameter of a comment tag's declaration (for example @com, @dll, or @security) was either missing the string constant or the string constant was incorrectly entered. This error most often occurs when matching quotes are missing around a value passed to an attribute. Check your comment tag declaration's attributes and compile again.

The following example illustrates this error:

/**@com.interface(iid=31415926-5358-9793-2384-612345678901,dual)*/
interface ITest{
   /**@com.method(name=method1);*/
   //error: Missing quotes around 'method1'
   public void method1();
}