boolean singleton = ap.target().getClass().getAnnotation(Singleton.class) != null;
if (!singleton) {
AnnotatedProxy h = proxyHandler();
final Object o = config.framework().newClassInstance(Object.class, ap.target().getClass());
h.configure(config, o);
if (h.pathParams()) {
prepareForPathInjection(path, targetPath, o);
}