Package jadx.api.data.impl
Class JadxCodeComment
- java.lang.Object
-
- jadx.api.data.impl.JadxCodeComment
-
- All Implemented Interfaces:
ICodeComment,java.lang.Comparable<ICodeComment>
public class JadxCodeComment extends java.lang.Object implements ICodeComment
-
-
Constructor Summary
Constructors Constructor Description JadxCodeComment()JadxCodeComment(IJavaNodeRef nodeRef, @Nullable IJavaCodeRef codeRef, java.lang.String comment)JadxCodeComment(IJavaNodeRef nodeRef, @Nullable IJavaCodeRef codeRef, java.lang.String comment, CommentStyle style)JadxCodeComment(IJavaNodeRef nodeRef, java.lang.String comment)JadxCodeComment(IJavaNodeRef nodeRef, java.lang.String comment, CommentStyle style)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull ICodeComment other)@Nullable IJavaCodeRefgetCodeRef()java.lang.StringgetComment()IJavaNodeRefgetNodeRef()CommentStylegetStyle()voidsetCodeRef(@Nullable IJavaCodeRef codeRef)voidsetComment(java.lang.String comment)voidsetNodeRef(IJavaNodeRef nodeRef)voidsetStyle(CommentStyle style)java.lang.StringtoString()
-
-
-
Constructor Detail
-
JadxCodeComment
public JadxCodeComment(IJavaNodeRef nodeRef, java.lang.String comment)
-
JadxCodeComment
public JadxCodeComment(IJavaNodeRef nodeRef, java.lang.String comment, CommentStyle style)
-
JadxCodeComment
public JadxCodeComment(IJavaNodeRef nodeRef, @Nullable @Nullable IJavaCodeRef codeRef, java.lang.String comment)
-
JadxCodeComment
public JadxCodeComment(IJavaNodeRef nodeRef, @Nullable @Nullable IJavaCodeRef codeRef, java.lang.String comment, CommentStyle style)
-
JadxCodeComment
public JadxCodeComment()
-
-
Method Detail
-
getNodeRef
public IJavaNodeRef getNodeRef()
- Specified by:
getNodeRefin interfaceICodeComment
-
setNodeRef
public void setNodeRef(IJavaNodeRef nodeRef)
-
getCodeRef
@Nullable public @Nullable IJavaCodeRef getCodeRef()
- Specified by:
getCodeRefin interfaceICodeComment
-
setCodeRef
public void setCodeRef(@Nullable @Nullable IJavaCodeRef codeRef)
-
getComment
public java.lang.String getComment()
- Specified by:
getCommentin interfaceICodeComment
-
setComment
public void setComment(java.lang.String comment)
-
getStyle
public CommentStyle getStyle()
- Specified by:
getStylein interfaceICodeComment
-
setStyle
public void setStyle(CommentStyle style)
-
compareTo
public int compareTo(@NotNull @NotNull ICodeComment other)- Specified by:
compareToin interfacejava.lang.Comparable<ICodeComment>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-