1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="JavadocMethod"> 5 <property name="allowInlineReturn" value="true"/> 6 </module> 7 </module> 8 </module> 9 */ 10 package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod; 11 12 // xdoc section -- start 13 public class Example8 { 14 15 /** 16 * {@return the foo} 17 */ 18 public int getFoo() { return 0; } 19 20 /** 21 * Returns the bar 22 * @return the bar 23 */ 24 public int getBar() { return 0; } 25 26 } 27 // xdoc section -- end