1 package com.google.checkstyle.test.chapter7javadoc.rule72thesummaryfragment; 2 3 /** Some Javadoc A {@code Foo} is a simple Javadoc. */ 4 class InputCorrectSummaryFragment { 5 6 /** Some Javadoc This method returns. */ 7 public static final byte NUL = 0; 8 9 /** As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}. */ 10 void foo3() {} 11 12 /** 13 * This is valid. 14 * 15 * @throws Exception if a problem occurs. 16 */ 17 void foo4() throws Exception {} 18 19 /** An especially This method returns short bit of Javadoc. */ 20 void foo5() {} 21 22 /** An especially short bit of Javadoc. This method returns. */ 23 void foo6() {} 24 25 /** This is valid. <a href="mailto:vlad@htmlbook.ru"/> */ 26 class InnerInputCorrectJavaDocParagraphCheck { 27 28 /** foooo@foooo. */ 29 public static final byte NUL = 0; 30 31 /** Some java@doc. This method returns. */ 32 public static final byte NUL_2 = 0; 33 34 /** Returns the customer ID. This method returns. */ 35 int getId() { 36 return 666; 37 } 38 39 /** This is valid. <a href="mailto:vlad@htmlbook.ru"/>. */ 40 void foo2() {} 41 42 /** As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}. This method returns. */ 43 void foo3() {} 44 45 /** 46 * This is valid. 47 * 48 * @throws Exception if a problem occurs. 49 */ 50 void foo4() throws Exception {} 51 52 /** 53 * JAXB Provider Use Only: Provides partial default implementations for some javax.xml.bind 54 * interfaces. 55 */ 56 void foo5() {} 57 58 /** An especially short (int... A) bit of Javadoc. This method returns. */ 59 void foo6() {} 60 } 61 62 /** 63 * Some javadoc. A {@code Foo} is a simple Javadoc. 64 * 65 * <p>Some Javadoc. A {@code Foo} is a simple Javadoc. 66 */ 67 InnerInputCorrectJavaDocParagraphCheck anon = 68 new InnerInputCorrectJavaDocParagraphCheck() { 69 70 /** JAXB 1.0 only default validation event handler. */ 71 public static final byte NUL = 0; 72 73 /** Returns the current state. This method returns. */ 74 boolean emulated(String s) { 75 return false; 76 } 77 78 /** Some Javadoc. This method returns some javadoc. */ 79 boolean emulated() { 80 return false; 81 } 82 83 /** Some Javadoc. This method returns some javadoc. Some Javadoc. */ 84 boolean emulated1() { 85 return false; 86 } 87 88 /** As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}. */ 89 void foo3() {} 90 91 /** 92 * This is valid. 93 * 94 * @throws Exception if a problem occurs. 95 */ 96 void foo4() throws Exception {} 97 98 /** An especially short bit of Javadoc. */ 99 void foo5() {} 100 101 /** An especially short bit of Javadoc. */ 102 void foo6() {} 103 104 /** 105 * This is valid. 106 * 107 * @return Some Javadoc the customer ID. 108 */ 109 int geId() { 110 return 666; 111 } 112 }; 113 }