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 InputIncorrectAtClauseOrderCheck3 implements Serializable { 15 16 /** 17 * Some text. 18 * 19 * @deprecated Some text. 20 * @return Some text. // violation 'Block tags have to appear in the order .*' 21 * @param str Some text. // violation 'Block tags have to appear in the order .*' 22 */ 23 String method5(String str) { 24 return "null"; 25 } 26 27 /** 28 * Some text. 29 * 30 * @param str Some text. 31 * @return Some text. 32 * @serialData Some javadoc. 33 * @param number Some text. // violation 'Block tags have to appear in the order .*' 34 * @throws Exception Some text. 35 * @param bool Some text. // violation 'Block tags have to appear in the order .*' 36 * @deprecated Some text. 37 */ 38 String method6(String str, int number, boolean bool) throws Exception { 39 return "null"; 40 } 41 42 /** 43 * Some javadoc. 44 * 45 * @version 1.0 46 * @since Some javadoc. 47 * @serialData Some javadoc. 48 * @author max 49 */ 50 class InnerClassWithAnnotations3 { 51 52 /** 53 * Some text. 54 * 55 * @param str Some text. 56 * @deprecated Some text. 57 * @return Some text. // violation 'Block tags have to appear in the order .*' 58 */ 59 String method5(String str) { 60 return "null"; 61 } 62 63 /** 64 * Some text. 65 * 66 * @param str Some text. 67 * @return Some text. 68 * @param number Some text. // violation 'Block tags have to appear in the order .*' 69 * @throws Exception Some text. 70 * @param bool Some text. // violation 'Block tags have to appear in the order .*' 71 * @deprecated Some text. 72 */ 73 String method6(String str, int number, boolean bool) throws Exception { 74 return "null"; 75 } 76 } 77 78 InnerClassWithAnnotations3 anon = 79 new InnerClassWithAnnotations3() { 80 81 /** 82 * Some text. 83 * 84 * @deprecated Some text. 85 * @return Some text. // violation 'Block tags have to appear in the order .*' 86 * @param str Some text. // violation 'Block tags have to appear in the order .*' 87 */ 88 String method5(String str) { 89 return "null"; 90 } 91 92 /** 93 * Some text. 94 * 95 * @param str Some text. 96 * @return Some text. 97 * @param number Some text. // violation 'Block tags have to appear in the order .*' 98 * @throws Exception Some text. 99 * @param bool Some text. // violation 'Block tags have to appear in the order .*' 100 * @deprecated Some text. 101 */ 102 String method6(String str, int number, boolean bool) throws Exception { 103 return "null"; 104 } 105 }; 106 }