package productcatalog.controllers;

import common.controllers.SunriseController;
import io.sphere.sdk.categories.CategoryTree;
import io.sphere.sdk.client.PlayJavaSphereClient;
import play.Configuration;
import play.mvc.Result;

public class ProductController extends SunriseController {

    public ProductController(final PlayJavaSphereClient client, final CategoryTree categoryTree, final Configuration configuration) {
        super(client, categoryTree, configuration);
    }

    public Result index() {
        return ok("Good!");
    }
}
@@ -223,16 +223,45 @@
 esult;%0A%0A
+import javax.inject.Inject;%0A%0A
 public c
@@ -312,16 +312,28 @@
 ller %7B%0A%0A
+    @Inject%0A
     publ

Make ProductController dependency injection compatible.