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 package com.puppycrawl.tools.checkstyle.checks.javadoc.atclauseorder; 12 13 import java.io.Serializable; 14 15 public class InputAtclauseOrderCorrect3 implements Serializable { 16 /** 17 * 18 * @author max 19 * @version 1.0 20 * @since Some javadoc. 21 */ 22 class InnerClassWithAnnotations3 { 23 /** 24 * Some text. 25 * 26 * @throws Exception Some text. 27 * @deprecated Some text. 28 */ 29 void method3() throws Exception { 30 } 31 32 /** 33 * Some text. 34 * 35 * @return Some text. 36 * @throws Exception Some text. 37 * @serialData Some javadoc. 38 */ 39 String method4() throws Exception { 40 return "null"; 41 } 42 } 43 44 InnerClassWithAnnotations3 anon = new InnerClassWithAnnotations3() { 45 /** 46 * Some text. 47 * @throws Exception Some text. 48 * @deprecated Some text. 49 */ 50 void method3() throws Exception {} 51 52 /** 53 * Some text. 54 * @return Some text. 55 * @throws Exception Some text. 56 */ 57 String method4() throws Exception 58 { 59 return "null"; 60 } 61 }; 62 }