/*
 * Copyright (C) 2009-2018 Lightbend Inc. <https://www.lightbend.com>
 */

package javaguide.di.playlib;

import javaguide.di.*;

//#play-module
import com.typesafe.config.Config;
import java.util.Arrays;
import java.util.List;
import play.Environment;
import play.inject.*;

public class HelloModule extends Module {
    @Override
    public List<Binding<?>> bindings(Environment environment, Config config) {
        return Arrays.asList(
            bindClass(Hello.class).qualifiedWith("en").to(EnglishHello.class),
            bindClass(Hello.class).qualifiedWith("de").to(GermanHello.class)
        );
    }
}
//#play-module

@@ -268,17 +268,50 @@
 .inject.
-*
+Binding;%0Aimport play.inject.Module
 ;%0A%0Apubli

Fix ambiguous import for Java 11 (#8834)