package org.jcodegen.java;

/**
 * ...
 */
public class FunctionArgument {
    private final String name;
    private final String type;
    private final boolean isFinal;

    public FunctionArgument(final String type, final String name) {
        this(type, name, true);
    }

    public FunctionArgument(final String type, final String name, final boolean isFinal) {
        this.type = type;
        this.name = name;
        this.isFinal = isFinal;
    }

    @Override
    public String toString() {
        final StringBuilder buf = new StringBuilder();

        if (isFinal)
            buf.append("final ");
        buf.append(type);
        buf.append(" ");
        buf.append(name);

        return buf.toString();
    }
}

@@ -725,11 +725,189 @@
 );%0A    %7D
+%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public String getType() %7B%0A        return type;%0A    %7D%0A%0A    public boolean isFinal() %7B%0A        return isFinal;%0A    %7D
 %0A%7D%0A

Add getters for constructor parameters