return pJs.newJavaField("backingObject", getChainInterface(), JavaSource.PRIVATE);
}
protected JavaConstructor getConstructor(JavaSource pJs,
InterfaceDescription[] pInterfaces) {
JavaConstructor jcon = pJs.newJavaConstructor(JavaSource.PROTECTED);
jcon.addParam(getChainInterface(), "o");
jcon.addIf("o == null");
jcon.addThrowNew(NullPointerException.class,
JavaSource.getQuoted("The supplied object must not be null."));
jcon.addEndIf();
jcon.addLine("backingObject = o;");