1 package com.google.checkstyle.test.chapter7javadoc.rule713atclauses; 2 3 import java.io.Serializable; 4 5 /** 6 * Some javadoc. 7 * 8 * @since Some javadoc. 9 * @version 1.0 10 * @deprecated Some javadoc. 11 * @see Some javadoc. 12 * @author max 13 */ 14 class InputIncorrectAtClauseOrderCheck1 implements Serializable { 15 /** 16 * The client's first name. 17 * 18 * @serial 19 */ 20 private String firstName; 21 22 /** 23 * The client's first name. 24 * 25 * @serial 26 */ 27 private String secondName; 28 29 /** 30 * The client's first name. 31 * 32 * @serialField 33 */ 34 private String thirdName; 35 36 /** 37 * Some text. 38 * 39 * @param str Some text. 40 * @return Some text. 41 * @serialData Some javadoc. 42 * @deprecated Some text. 43 * @throws Exception Some text. // violation 'Block tags have to appear in the order .*' 44 */ 45 String method(String str) throws Exception { 46 return "null"; 47 } 48 49 /** 50 * Some text. 51 * 52 * @serialData Some javadoc. 53 * @return Some text. 54 * @param str Some text. // violation 'Block tags have to appear in the order .*' 55 * @throws Exception Some text. 56 */ 57 String method1(String str) throws Exception { 58 return "null"; 59 } 60 61 /** 62 * Some javadoc. 63 * 64 * @version 1.0 65 * @since Some javadoc. 66 * @serialData Some javadoc. 67 * @author max 68 */ 69 class InnerClassWithAnnotations1 { 70 /** 71 * Some text. 72 * 73 * @return Some text. 74 * @deprecated Some text. 75 * @param str Some text. // violation 'Block tags have to appear in the order .*' 76 * @throws Exception Some text. // violation 'Block tags have to appear in the order .*' 77 */ 78 String method(String str) throws Exception { 79 return "null"; 80 } 81 82 /** 83 * Some text. 84 * 85 * @throws Exception Some text. 86 * @return Some text. // violation 'Block tags have to appear in the order .*' 87 * @param str Some text. // violation 'Block tags have to appear in the order .*' 88 */ 89 String method1(String str) throws Exception { 90 return "null"; 91 } 92 } 93 94 InnerClassWithAnnotations1 anon = 95 new InnerClassWithAnnotations1() { 96 /** 97 * Some text. 98 * 99 * @throws Exception Some text. 100 * @param str Some text. // violation 'Block tags have to appear in the order .*' 101 * @serialData Some javadoc. 102 * @deprecated Some text. 103 * @return Some text. // violation 'Block tags have to appear in the order .*' 104 */ 105 String method(String str) throws Exception { 106 return "null"; 107 } 108 109 /** 110 * Some text. 111 * 112 * @param str Some text. 113 * @throws Exception Some text. 114 * @return Some text. // violation 'Block tags have to appear in the order .*' 115 */ 116 String method1(String str) throws Exception { 117 return "null"; 118 } 119 }; 120 }