Generate @param for RPC invocation methods
[mdsal.git] / binding / mdsal-binding-generator-api / src / main / java / org / opendaylight / mdsal / binding / model / api / TypeMember.java
index 353c66e7a38d719c496cac18bd76ed787e8cbb05..76b93a3ebc314362d7db0caf5260d18cf4ffa54a 100644 (file)
@@ -8,18 +8,18 @@
 package org.opendaylight.mdsal.binding.model.api;
 
 import java.util.List;
+import org.eclipse.jdt.annotation.Nullable;
 
 /**
  * Common interface for variables and methods in class.
  */
 public interface TypeMember {
-
     /**
      * Returns comment string associated with member.
      *
      * @return comment string associated with member.
      */
-    String getComment();
+    @Nullable TypeMemberComment getComment();
 
     /**
      * Returns List of annotation definitions associated with generated type.
@@ -69,5 +69,4 @@ public interface TypeMember {
      * @return the Type that declares member.
      */
     Type getDefiningType();
-
 }