Using real Java annotations instead JavaDoc for @j2s

for each @j2s javadoc tag there is an equivalent java annotation that we can use. In some cases, the java @J2S annotation can be more convinient than the javadoc comment.

you must include net.sf.j2s.ajax project in yout java classpath fgor using them... TODO: better this section

J2s also support using real java annotations (not JavaDoc) instead @j2s annotations inside JavaDoc, For each @j2s JavaDoc annotation there exists a @J2S java annotation class that can be used:


  If you want to refactoring use @J2SRequireImport annotation:
/**
 */
@J2SIgnoreImport(B.class)
public class A {
}
instead of javaDoc
/**
 * @j2sIgnoreImport("a.b.c.B")
 */
public class A {
}

All @j2s* javaDoc has its @J2S* annotations.