SimpleObject simple = convertDelegateToRepresentation(delegate, repDescription); maybeDecorateWithType(simple, delegate); decorateWithResourceVersion(simple, representation); simple = (SimpleObject) meth.invoke(handler, delegate, representation); maybeDecorateWithType(simple, delegate); decorateWithResourceVersion(simple, representation);