package com.karateca.jstoolbox.generatemethod;

/**
 * @author Andres Dominguez.
 */
public class Function {

  private final String name;
  private final String arguments;

  public Function(String name, String arguments) {
    this.name = name;
    this.arguments = arguments;
  }

  public String getName() {
    return name;
  }

  public String getArguments() {
    return arguments;
  }

  @Override
  public String toString() {
    return name;
  }
}

@@ -165,16 +165,46 @@
 guments;
+%0A  private final String jsDoc;
 %0A%0A  publ
@@ -244,16 +244,30 @@
 rguments
+, String jsDoc
 ) %7B%0A    
@@ -312,24 +312,48 @@
  arguments;%0A
+    this.jsDoc = jsDoc;%0A
   %7D%0A%0A  publi
@@ -455,16 +455,68 @@
 s;%0A  %7D%0A%0A
+  public String getJsDoc() %7B%0A    return jsDoc;%0A  %7D%0A%0A
   @Overr

add jsdoc