Groovy: Innere, nicht statische Klasse instanziieren // Outer.java public class Outer { class Inner { public Inner(String foo) { } } } 1234567 // Outer.javapublic class Outer { class Inner { public Inner(String foo) { } }} Aus Groovy heraus: def o = new Outer() def i = new Outer.Inner(o, "bar") 12 def o = new Outer()def i = new Outer.Inner(o, "bar") via