Class KeyValueTableSection
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.util.commenttable.KeyValueTableSection
-
- All Implemented Interfaces:
CommentTableSection
public class KeyValueTableSection extends java.lang.Object implements CommentTableSection
-
-
Constructor Summary
Constructors Constructor Description KeyValueTableSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValueTableSectionadd(java.lang.String key, java.lang.String value)java.util.List<java.lang.String>getLines()intgetPreferedWidth()
-
-
-
Method Detail
-
add
@NotNull @Contract(mutates="this", pure=false, value="null, _ -> fail; _, null -> fail; !null, !null -> this") public KeyValueTableSection add(@NotNull java.lang.String key, @NotNull java.lang.String value)
-
getPreferedWidth
public int getPreferedWidth()
- Specified by:
getPreferedWidthin interfaceCommentTableSection
-
getLines
@NotNull public java.util.List<java.lang.String> getLines()
- Specified by:
getLinesin interfaceCommentTableSection
-
-