1 /* 2 WriteTag 3 tag = @author 4 tagFormat = ABC 5 tagSeverity = (default)info 6 tokens = (default)INTERFACE_DEF, CLASS_DEF, ENUM_DEF, ANNOTATION_DEF, RECORD_DEF 7 8 9 */ 10 11 package com.puppycrawl.tools.checkstyle.checks.javadoc.writetag; 12 // violation 3 lines below 'tag @author must match pattern 'ABC'.' 13 /** 14 * Testing tag writing 15 * @author Daniel Grenner 16 * @incomplete This class needs more code... 17 * @doubletag first text 18 * @doubletag second text 19 * @emptytag 20 */ 21 public class InputWriteTagExpressionError { 22 /** 23 * @todo Add a constructor comment 24 */ 25 public InputWriteTagExpressionError () 26 { 27 } 28 29 public void method() 30 { 31 } 32 33 /** 34 * @todo Add a comment 35 */ 36 public void anotherMethod() 37 { 38 } 39 }