1.1 --- a/rt/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java Tue Feb 26 16:54:16 2013 +0100
1.2 +++ b/rt/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java Tue Sep 17 15:00:48 2013 +0200
1.3 @@ -22,7 +22,14 @@
1.4 import java.lang.annotation.RetentionPolicy;
1.5 import java.lang.annotation.Target;
1.6
1.7 -/** Controls how JavaScript inheritance should be handled.
1.8 +/** Influence the inheritance of your class when converted to JavaScript.
1.9 + * Sometimes one does not want
1.10 + * to mimic the Java hierarchy, but modify it a bit. For example it makes
1.11 + * sense to treat every (JavaScript) string literal as {@link String}.
1.12 + * One can do it by making {@link String} subclass JavaScript <code>String</code>
1.13 + * and use <code>String.prototype</code> as a container for all {@link String}
1.14 + * methods.
1.15 + *
1.16 * @author Jaroslav Tulach <jtulach@netbeans.org>
1.17 */
1.18 @Retention(RetentionPolicy.CLASS)