public class JavaSourceComment extends Object
| 构造器和说明 |
|---|
JavaSourceComment() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAllAnnotations(Collection<AnnotationComment> comments) |
void |
addAnnotation(AnnotationComment comment) |
List<AnnotationComment> |
getAnnotations() |
String |
getComment() |
List<CommentDetail> |
getCommentDetails() |
String |
getCommentOriginal() |
List<String> |
getLines() |
String |
getModifyers() |
String |
getName() |
String |
getSource() |
void |
setAnnotations(List<AnnotationComment> annotations) |
void |
setComment(String comment) |
void |
setCommentDetails(List<CommentDetail> commentDetails) |
void |
setCommentOriginal(String commentOriginal) |
void |
setLines(List<String> lines) |
void |
setModifyers(String modifyers) |
void |
setName(String name) |
void |
setSource(String source) |
public void addAnnotation(AnnotationComment comment)
public void addAllAnnotations(Collection<AnnotationComment> comments)
public String getName()
public void setName(String name)
public String getComment()
public void setComment(String comment)
public List<AnnotationComment> getAnnotations()
public void setAnnotations(List<AnnotationComment> annotations)
public String getModifyers()
public void setModifyers(String modifyers)
public String getSource()
public void setSource(String source)
public List<CommentDetail> getCommentDetails()
public void setCommentDetails(List<CommentDetail> commentDetails)
public String getCommentOriginal()
public void setCommentOriginal(String commentOriginal)
Copyright © 2021. All rights reserved.