@Test public void javaCode() { MatcherAssert.assertThat( new AttrCtorParamFormat().code( "Int", "number" ), Matchers.is("final Int number") ); }
@Override public String code(final String type, final String name) { return new UncheckedText( new FormattedText("final %s %s", type, name) ).asString(); }
AttrCtorParamFormat implements AttributeFormat { @Override public String code(final String type, final String name) { return new UncheckedText( new FormattedText("final %s %s", type, name) ).asString(); } }
AttrCtorParamFormat implements AttributeFormat { @Override public String code(final String type, final String name) { return new UncheckedText( new FormattedText("final %s %s", type, name) ).asString(); }  }
AttrCtorParamFormat implements AttributeFormat { @Override public String code(final String type, final String name) { return new UncheckedText( new FormattedText("final %s %s", type, name) ).asString(); }  @Override String code(final String type, final String name); }
AttrCtorParamFormat implements AttributeFormat { @Override public String code(final String type, final String name) { return new UncheckedText( new FormattedText("final %s %s", type, name) ).asString(); }  @Override String code(final String type, final String name);  }