1 19 20 package org.netbeans.api.java.source.query; 21 22 import org.netbeans.api.java.source.Comment; 23 24 27 public interface CommentSet { 28 31 void addPrecedingComment(Comment c); 32 33 36 void addPrecedingComment(java.lang.String s); 37 38 41 void addPrecedingComments(java.util.List <Comment> comments); 42 43 46 void addTrailingComment(Comment c); 47 48 51 void addTrailingComment(java.lang.String s); 52 53 56 void addTrailingComments(java.util.List <Comment> comments); 57 58 java.util.List <Comment> getPrecedingComments(); 59 60 java.util.List <Comment> getTrailingComments(); 61 62 boolean hasChanges(); 63 64 boolean hasComments(); 65 66 73 int pos(); 74 75 } 76 | Popular Tags |