1
2
3
4
5
6
7
8
9
10
11
12
13
14 package com.puppycrawl.tools.checkstyle.checks.javadoc.missingjavadocmethod;
15
16 import java.awt.event.MouseEvent;
17 import java.awt.event.MouseAdapter;
18 import javax.swing.JButton;
19
20
21
22
23 public class InputMissingJavadocMethodScopeAnonInner2
24 {
25
26
27
28 private JButton mButton = new JButton();
29
30
31
32
33 private Runnable mRunnable = new Runnable() {
34 public void run()
35 {
36 System.identityHashCode("running");
37 }
38 };
39
40
41
42
43 InputMissingJavadocMethodScopeAnonInner2()
44 {
45 mButton.addMouseListener( new MouseAdapter()
46 {
47 public void mouseClicked( MouseEvent aEv )
48 {
49 System.identityHashCode("click");
50 }
51 } );
52 }
53
54
55
56
57 public void addInputAnonInner()
58 {
59 mButton.addMouseListener( new MouseAdapter()
60 {
61 public void mouseClicked( MouseEvent aEv )
62 {
63 System.identityHashCode("click");
64 }
65 } );
66 }
67 }