From 235d7a01f77ebc802b63b268847dcad74295f345 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 1 Oct 2012 20:17:27 +0000 Subject: Generate missing method. --- src/main/java/com/amazon/carbonado/gen/StorableCopier.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/amazon/carbonado/gen/StorableCopier.java b/src/main/java/com/amazon/carbonado/gen/StorableCopier.java index a575060..ca28bd0 100644 --- a/src/main/java/com/amazon/carbonado/gen/StorableCopier.java +++ b/src/main/java/com/amazon/carbonado/gen/StorableCopier.java @@ -329,6 +329,13 @@ public abstract class StorableCopier { } } + mi = mClassFile.addMethod + (Modifiers.PUBLIC, CommonMethodNames.IS_PROPERTY_SUPPORTED, + TypeDesc.BOOLEAN, new TypeDesc[] {TypeDesc.STRING}); + b = new CodeBuilder(mi); + b.loadConstant(true); + b.returnValue(TypeDesc.BOOLEAN); + try { Class wrapperClass = mClassInjector.defineClass(mClassFile); return wrapperClass.getConstructor(mDelegateInfo.getStorableType()); -- cgit v1.2.3