// Wrapping constructor
// public FooIntfAutoBean(AutoBeanFactory factory, FooIntfo wrapped) {
sw.println("public %s(%s factory, %s wrapped) {", type.getSimpleSourceName(),
AutoBeanFactory.class.getCanonicalName(), type.getPeerType().getQualifiedSourceName());
sw.indentln("super(wrapped, factory);");
sw.println("}");
// public FooIntf as() {return shim;}
sw.println("public %s as() {return shim;}", type.getPeerType().getQualifiedSourceName());