View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod;
2   
3   public class InputJavadocMethodSetterGetter
4   {
5       private int mNumber;
6   
7       public void setNumber(final int number)
8       {
9           mNumber = number;
10      }
11  
12      public int getNumber()
13      {
14          return mNumber;
15      }
16  
17      public void setNumber1()
18      {
19          mNumber = mNumber;
20      }
21  
22      public void setNumber2(int number)
23      {
24          mNumber = number;
25          firePropertyChanged();
26      }
27  
28      public void getNumber2()
29      {
30      }
31  
32      public int getCost1(int forMe)
33      {
34          return 666;
35      }
36  
37      public int getCost2()
38      {
39      	mNumber = 4;
40          return 666;
41      }
42  
43      public int getCost3() throws Exception
44      {
45          return 666;
46      }
47  
48      public boolean isSomething()
49      {
50          return false;
51      }
52      
53      private void firePropertyChanged(){}
54  
55      Object setObject(Object object) {
56          return new Object();
57      }
58  
59      Object getNext() {
60          throw new UnsupportedOperationException();
61      }
62  
63      public void setWithoutAssignment(Object object) {
64          object.notify();
65      }
66  
67      InputJavadocMethodSetterGetter() {}
68  
69      public InputJavadocMethodSetterGetter(Object object) throws Exception {}
70  
71  }
72  
73  interface TestInterface {
74      void setObject(Object object);
75  
76      Object getObject();
77  }