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 InputAtclauseOrderIncorrect3 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 InnerClassWithAnnotations3 36 { 37 /** 38 * Some text. 39 * @deprecated Some text. 40 * @throws Exception Some text. // violation 41 */ 42 void method3() throws Exception {} 43 44 /** 45 * Some text. 46 * @throws Exception Some text. 47 * @serialData Some javadoc. 48 * @return Some text. // violation 49 */ 50 String method4() throws Exception 51 { 52 return "null"; 53 } 54 } 55 56 InnerClassWithAnnotations3 anon = new InnerClassWithAnnotations3() 57 { 58 /** 59 * Some text. 60 * @deprecated Some text. 61 * @throws Exception Some text. // violation 62 */ 63 void method3() throws Exception {} 64 65 /** 66 * Some text. 67 * @throws Exception Some text. 68 * @return Some text. // violation 69 */ 70 String method4() throws Exception 71 { 72 return "null"; 73 } 74 }; 75 }