private Expression getPropertyDescriptorForProperty(
GwtBeanPropertyDescriptor pd)
throws UnableToCompleteException {
Expression get = (pd.readMethod == null) ?
new Reference(new Identifier(FilePosition.UNKNOWN, UNDEFINED)) :
(Expression) QuasiBuilder.substV(""
+ "$wnd.caja.makeDefensibleFunction___(function () {"
+ " return @taming.getJso(frame, bean.@methodRef());"
+ "})",
"taming", getTamingObject(pd.readMethod.getReturnType()),
"methodRef", getMethodAccessor(pd.readMethod));
Expression set = (pd.writeMethod == null) ?
new Reference(new Identifier(FilePosition.UNKNOWN, UNDEFINED)) :
(Expression) QuasiBuilder.substV(""
+ "$wnd.caja.makeDefensibleFunction___(function (arg) {"
+ " bean.@methodRef(@taming.getBean(frame, arg));"
+ "})",
"taming", getTamingObject(