Interface CodeMutableItemWithComment

All Superinterfaces:
CodeItem, CodeItemWithComment, CodeMutable, CodeMutableItem
All Known Subinterfaces:
CodeAnnotation, CodeArrayType, CodeComposedType, CodeConstructor, CodeElement, CodeElementWithDeclaringType, CodeElementWithModifiers, CodeElementWithName, CodeElementWithTypeVariables, CodeException, CodeField, CodeFile, CodeGenericType, CodeMember, CodeMethod, CodeOperation, CodeOperationArg, CodePackage, CodeParameter, CodeParameterizedType, CodePathElement, CodeProperty, CodeReturn, CodeType, CodeTypePlaceholder, CodeTypeVariable, CodeTypeWildcard

public interface CodeMutableItemWithComment extends CodeMutableItem, CodeItemWithComment
CodeItem that has an optional comment.
Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
  • Method Details

    • setComment

      void setComment(CodeComment comment)
      Parameters:
      comment - the new comment.
      Throws:
      io.github.mmm.base.exception.ReadOnlyException - if immutable.