Class MetaComment
java.lang.Object
com.pnfsoftware.jeb.core.units.impl.MetaComment
A meta comment, used to add information to a
full comment. Immutable. Flags are
optional and specific to the managing AbstractCommentManager.-
Constructor Summary
ConstructorsConstructorDescriptionCopy a meta-comment.MetaComment(String value) Create a meta-comment without flags.MetaComment(String value, int flags) Create a meta-comment. -
Method Summary
-
Constructor Details
-
MetaComment
Create a meta-comment.- Parameters:
value- comment valueflags- comment flags
-
MetaComment
Copy a meta-comment.- Parameters:
mc- source meta-comment
-
MetaComment
Create a meta-comment without flags.- Parameters:
value- comment value
-
-
Method Details
-
getValue
Retrieve the comment value.- Returns:
- comment value
-
getFlags
public int getFlags()Retrieve the comment flags.- Returns:
- comment flags
-
hashCode
public int hashCode() -
equals
-
toString
-
formatFlags
Format comment flags.- Parameters:
f- flags- Returns:
- formatted flags
-