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