package ol.format;

import jsinterop.annotations.JsType;
import ol.Options;
import ol.proj.Projection;

/**
 * Options for the GeoJSON
 *
 * @author tlochmann
 */
@JsType(isNative = true)
public interface GeoJSONOptions extends Options {

    /**
     * @param projection
     */
    void setDefaultDataProjection(Projection projection);

    /**
     * @param geometryName
     */
    void setGeometryName(String geometryName);

}

@@ -13,16 +13,56 @@
 ormat;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -223,26 +223,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Geo
@@ -300,14 +300,17 @@
 ons 
-extend
+implement
 s Op
@@ -355,32 +355,46 @@
 ion%0A     */%0A    
+public native 
 void setDefaultD
@@ -479,16 +479,30 @@
  */%0A    
+public native 
 void set

Convert GeoJSONOptions interface to class