@Test public void should_only_contain_comments_starting_with_exclamation_mark_token_and_not_raise_issues() { check.setStartingCommentToken("!"); JavaPropertiesCheckVerifier.verify(check, CheckTestUtils.getTestFile("comment-convention/commentsExclamationMarkOnly.properties")); }
@VisibleForTesting void setStartingCommentToken(String startingCommentToken) { this.startingCommentToken = startingCommentToken; }
CommentConventionCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setStartingCommentToken(String startingCommentToken) { this.startingCommentToken = startingCommentToken; } }
CommentConventionCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setStartingCommentToken(String startingCommentToken) { this.startingCommentToken = startingCommentToken; }  }
CommentConventionCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setStartingCommentToken(String startingCommentToken) { this.startingCommentToken = startingCommentToken; }  @Override void visitProperties(PropertiesTree tree); @Override void visitComment(SyntaxTrivia trivia); @Override void validateParameters(); }
CommentConventionCheck extends DoubleDispatchVisitorCheck { @VisibleForTesting void setStartingCommentToken(String startingCommentToken) { this.startingCommentToken = startingCommentToken; }  @Override void visitProperties(PropertiesTree tree); @Override void visitComment(SyntaxTrivia trivia); @Override void validateParameters();  }