package ol.layer;

import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import ol.Options;

/**
 * Layer group options.
 *
 * @author sbaumhekel
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface LayerGroupOptions extends Options {

    /**
     * Set the {@link ol.Collection collection} of {@link ol.layer.Layer layers}
     * in this group.
     * @param layers
     *            Collection of {@link ol.layer.Base layers} that are part of
     *            this group.
     */
    @JsProperty
    void setLayers(ol.Collection<ol.layer.Base> layers);

}

@@ -12,16 +12,56 @@
 layer;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -93,16 +93,16 @@
 operty;%0A
-
 import j
@@ -264,26 +264,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Lay
@@ -344,14 +344,17 @@
 ons 
-extend
+implement
 s Op
@@ -626,20 +626,34 @@
 roperty%0A
-
     
+public native 
 void set

Convert LayerGroupOptions interface to class