Generate interface methods without "public"
[controller.git] / opendaylight / config / yang-jmx-generator-plugin / src / main / java / org / opendaylight / controller / config / yangjmxgenerator / plugin / ftl / model / MethodDeclaration.java
index be6b23e879e36de82bb1a2abf5f82107a161ea11..425f85fe25d1259e8cda5b14f91f106911ee4443 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model;
 
 import java.util.Collections;
 import java.util.List;
+import org.apache.commons.lang3.StringUtils;
 
 public class MethodDeclaration implements Method {
     private final String returnType;
@@ -44,6 +45,11 @@ public class MethodDeclaration implements Method {
         this.javadoc = javadoc;
     }
 
+    @Override
+    public String getVisibility() {
+        return StringUtils.EMPTY;
+    }
+
     @Override
     public String getReturnType() {
         return returnType;