1 package com.google.checkstyle.test.chapter7javadoc.rule713atclauses; 2 3 import java.io.Serializable; 4 5 /** 6 * Some javadoc. 7 * 8 * @author max 9 * @version 1.0 10 * @see Some javadoc. 11 * @since Some javadoc. 12 * @deprecated Some javadoc. 13 */ 14 class InputCorrectAtClauseOrderCheck2 implements Serializable { 15 /** 16 * Some text. 17 * 18 * @param str Some text. 19 * @throws Exception Some text. 20 */ 21 void method2(String str) throws Exception {} 22 23 /** 24 * Some text. 25 * 26 * @throws Exception Some text. 27 * @deprecated Some text. 28 */ 29 void method3() throws Exception {} 30 31 /** 32 * Some text. 33 * 34 * @return Some text. 35 * @throws Exception Some text. 36 */ 37 String method4() throws Exception { 38 return "null"; 39 } 40 41 /** 42 * summary. 43 * 44 * @author max 45 * @version 1.0 46 * @since Some javadoc. 47 */ 48 class InnerClassWithAnnotations2 { 49 /** 50 * Some text. 51 * 52 * @param str Some text. 53 * @throws Exception Some text. 54 */ 55 void method2(String str) throws Exception {} 56 57 /** 58 * Some text. 59 * 60 * @throws Exception Some text. 61 * @deprecated Some text. 62 */ 63 void method3() throws Exception {} 64 65 /** 66 * Some text. 67 * 68 * @return Some text. 69 * @throws Exception Some text. 70 * @serialData Some javadoc. 71 */ 72 String method4() throws Exception { 73 return "null"; 74 } 75 } 76 77 InnerClassWithAnnotations2 anon = 78 new InnerClassWithAnnotations2() { 79 /** 80 * Some text. 81 * 82 * @param str Some text. 83 * @throws Exception Some text. 84 * @serialData Some javadoc. 85 */ 86 void method2(String str) throws Exception {} 87 88 /** 89 * Some text. 90 * 91 * @throws Exception Some text. 92 * @deprecated Some text. 93 */ 94 void method3() throws Exception {} 95 96 /** 97 * Some text. 98 * 99 * @return Some text. 100 * @throws Exception Some text. 101 */ 102 String method4() throws Exception { 103 return "null"; 104 } 105 }; 106 107 /** 108 * Some javadoc. 109 * 110 * @author max 111 * @version 1.0 112 * @see Some javadoc. 113 * @since Some javadoc. 114 * @deprecated Some javadoc. 115 */ 116 enum Foo {} 117 118 /** 119 * Some javadoc. 120 * 121 * @author max 122 * @version 1.0 123 * @see Some javadoc. 124 * @since Some javadoc. 125 * @deprecated Some javadoc. 126 */ 127 interface FooIn {} 128 }