import org.opendaylight.mdsal.binding.model.api.AnnotationType;
import org.opendaylight.mdsal.binding.model.api.JavaTypeName;
import org.opendaylight.mdsal.binding.model.api.Type;
+import org.opendaylight.mdsal.binding.model.api.TypeMemberComment;
import org.opendaylight.mdsal.binding.model.api.type.builder.AnnotationTypeBuilder;
import org.opendaylight.mdsal.binding.model.api.type.builder.TypeMemberBuilder;
import org.opendaylight.yangtools.util.LazyCollections;
private final String name;
private Type returnType;
private List<AnnotationTypeBuilder> annotationBuilders = Collections.emptyList();
- private String comment = "";
+ private TypeMemberComment comment;
private boolean isFinal;
private boolean isStatic;
private AccessModifier accessModifier;
return this.annotationBuilders;
}
- protected String getComment() {
+ protected TypeMemberComment getComment() {
return this.comment;
}
}
@Override
- public T setComment(final String newComment) {
+ public T setComment(final TypeMemberComment newComment) {
this.comment = newComment;
return thisInstance();
}