diff -r 000000000000 -r 19497b4312bb core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptBody.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptBody.java Tue Oct 09 11:11:58 2012 -0700
@@ -0,0 +1,38 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apidesign.bck2brwsr.core;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/** Put this method on a method in case it should have a special
+ * body in the JavaScript.
+ *
+ * @author Jaroslav Tulach
+ */
+@Retention(RetentionPolicy.CLASS)
+@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR })
+public @interface JavaScriptBody {
+ /** Names of parameters for the method.
+ *
+ *
+ *
+ * @return array of the names of parameters for the method
+ * in JavaScript
+ */
+ public String[] args();
+
+ /** The actual body of the method in JavaScript. This string will be
+ * put into generated header (ends with '{') and footer (ends with '}').
+ */
+ public String body();
+}