1 /* 2 AtclauseOrder 3 violateExecutionOnNonTightHtml = (default)false 4 target = (default)CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, \ 5 CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF 6 tagOrder = (default)@author, @deprecated, @exception, @param, @return, \ 7 @see, @serial, @serialData, @serialField, @since, @throws, @version 8 9 10 */ 11 12 package com.puppycrawl.tools.checkstyle.checks.javadoc.atclauseorder; 13 /** Javadoc for import */ 14 import java.io.Serializable; 15 16 /** 17 * Some javadoc. 18 * 19 * @since Some javadoc. 20 * @version 1.0 // violation 21 * @deprecated Some javadoc. 22 * @see Some javadoc. // violation 23 * @author max // violation 24 */ 25 class InputAtclauseOrderIncorrect4 implements Serializable 26 { 27 /** 28 * Some javadoc. 29 * 30 * @version 1.0 31 * @since Some javadoc. 32 * @serialData Some javadoc. 33 * @author max // violation 34 */ 35 class InnerClassWithAnnotations4 { 36 /** 37 * Some text. 38 * @param aString Some text. 39 * @deprecated Some text. 40 * @return Some text. // violation 41 */ 42 String method5(String aString) { 43 return "null"; 44 } 45 46 /** 47 * Some text. 48 * @param aString Some text. 49 * @return Some text. 50 * @param aInt Some text. // violation 51 * @throws Exception Some text. 52 * @param aBoolean Some text. // violation 53 * @deprecated Some text. 54 */ 55 String method6(String aString, int aInt, boolean aBoolean) throws Exception { 56 return "null"; 57 } 58 } 59 60 InnerClassWithAnnotations4 anon = new InnerClassWithAnnotations4() 61 { 62 /** 63 * Some text. 64 * @deprecated Some text. 65 * @return Some text. // violation 66 * @param aString Some text. // violation 67 */ 68 String method5(String aString) { 69 return "null"; 70 } 71 72 /** 73 * Some text. 74 * @param aString Some text. 75 * @return Some text. 76 * @param aInt Some text. // violation 77 * @throws Exception Some text. 78 * @param aBoolean Some text. // violation 79 * @deprecated Some text. 80 */ 81 String method6(String aString, int aInt, boolean aBoolean) throws Exception { 82 return "null"; 83 } 84 }; 85 } 86 87 /** 88 * Some javadoc. 89 * 90 * @since Some javadoc. 91 * @version 1.0 // violation 92 * @deprecated Some javadoc. 93 * @see Some javadoc. // violation 94 * @author max // violation 95 */ 96 enum Foo4 {} 97 98 /** 99 * Some javadoc. 100 * 101 * @version 1.0 102 * @since Some javadoc. 103 * @serialData Some javadoc. 104 * @author max // violation 105 */ 106 interface FooIn { 107 /** 108 * @value tag without specified order by default 109 */ 110 int CONSTANT = 0; 111 }