test_class.file: handlebars-maven-plugin/src/test/java/com/github/jknack/handlebars/maven/I18nJsPluginTest.java
test_class.identifier: I18nJsPluginTest
test_case.body: @Test
    public void i18nJsNoMerge() throws Exception {
      I18nJsPlugin plugin = new I18nJsPlugin();
      plugin.setProject(newProject("src/test/resources"));
      plugin.setOutput("target");
  
      plugin.execute();
  
      assertEquals(tokens("src/test/resources/messages.expected.js"),
          tokens("target/messages.js"));
  
      assertEquals(tokens("src/test/resources/messages_es_AR.expected.js"),
          tokens("target/messages_es_AR.js"));
  
      FileUtils.copyFile(new File("target/messages.js"), new File("target/messages-tests.js"));
    }
test_case.class_method_signature: I18nJsPluginTest.i18nJsNoMerge()
test_case.full_signature: @Test public void i18nJsNoMerge()
test_case.identifier: i18nJsNoMerge
test_case.invocations: setProject newProject setOutput execute assertEquals tokens tokens assertEquals tokens tokens copyFile
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void i18nJsNoMerge()
focal_class.declarator: bundle = "messages"
focal_class.modifier: @Parameter
    private
focal_class.original_string: @Parameter
    private String bundle = "messages";
focal_class.type: String
focal_class.var_name: bundle
focal_class.declarator: output
focal_class.modifier: @Parameter(
        defaultValue = "${project.build.directory}/${project.build.finalName}/js")
    private
focal_class.original_string: @Parameter(
        defaultValue = "${project.build.directory}/${project.build.finalName}/js")
    private String output;
focal_class.type: String
focal_class.var_name: output
focal_class.declarator: merge
focal_class.modifier: @Parameter(defaultValue = "false")
    private
focal_class.original_string: @Parameter(defaultValue = "false")
    private boolean merge;
focal_class.type: boolean
focal_class.var_name: merge
focal_class.declarator: amd
focal_class.modifier: @Parameter
    private
focal_class.original_string: @Parameter
    private boolean amd;
focal_class.type: boolean
focal_class.var_name: amd
focal_class.declarator: encoding = "UTF-8"
focal_class.modifier: @Parameter(defaultValue = "UTF-8")
    private
focal_class.original_string: @Parameter(defaultValue = "UTF-8")
    private String encoding = "UTF-8";
focal_class.type: String
focal_class.var_name: encoding
focal_class.file: handlebars-maven-plugin/src/main/java/com/github/jknack/handlebars/maven/I18nJsPlugin.java
focal_class.identifier: I18nJsPlugin
focal_class.class_method_signature: I18nJsPlugin.doExecute()
focal_class.full_signature: @Override protected void doExecute()
focal_class.identifier: doExecute
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void doExecute()
focal_class.class_method_signature: I18nJsPlugin.wrap(final String filename, final CharSequence body, final boolean amd)
focal_class.full_signature: private String wrap(final String filename, final CharSequence body, final boolean amd)
focal_class.identifier: wrap
focal_class.modifiers: private
focal_class.parameters: (final String filename, final CharSequence body, final boolean amd)
focal_class.return: String
focal_class.signature: String wrap(final String filename, final CharSequence body, final boolean amd)
focal_class.class_method_signature: I18nJsPlugin.bundles(final String bundle, final URL[] classpath)
focal_class.full_signature: private List<File> bundles(final String bundle, final URL[] classpath)
focal_class.identifier: bundles
focal_class.modifiers: private
focal_class.parameters: (final String bundle, final URL[] classpath)
focal_class.return: List<File>
focal_class.signature: List<File> bundles(final String bundle, final URL[] classpath)
focal_class.class_method_signature: I18nJsPlugin.setBundle(final String bundle)
focal_class.full_signature: public void setBundle(final String bundle)
focal_class.identifier: setBundle
focal_class.modifiers: public
focal_class.parameters: (final String bundle)
focal_class.return: void
focal_class.signature: void setBundle(final String bundle)
focal_class.class_method_signature: I18nJsPlugin.setOutput(final String output)
focal_class.full_signature: public void setOutput(final String output)
focal_class.identifier: setOutput
focal_class.modifiers: public
focal_class.parameters: (final String output)
focal_class.return: void
focal_class.signature: void setOutput(final String output)
focal_class.class_method_signature: I18nJsPlugin.setMerge(final boolean merge)
focal_class.full_signature: public void setMerge(final boolean merge)
focal_class.identifier: setMerge
focal_class.modifiers: public
focal_class.parameters: (final boolean merge)
focal_class.return: void
focal_class.signature: void setMerge(final boolean merge)
focal_class.class_method_signature: I18nJsPlugin.setAmd(final boolean amd)
focal_class.full_signature: public void setAmd(final boolean amd)
focal_class.identifier: setAmd
focal_class.modifiers: public
focal_class.parameters: (final boolean amd)
focal_class.return: void
focal_class.signature: void setAmd(final boolean amd)
focal_class.superclass: extends HandlebarsPlugin
focal_method.body: public void setOutput(final String output) {
      this.output = output;
    }
focal_method.class_method_signature: I18nJsPlugin.setOutput(final String output)
focal_method.full_signature: public void setOutput(final String output)
focal_method.identifier: setOutput
focal_method.modifiers: public
focal_method.parameters: (final String output)
focal_method.return: void
focal_method.signature: void setOutput(final String output)