KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > whitespace > InputMethodParamPad


1 package com.puppycrawl.tools.checkstyle.whitespace;
2 import java.util.Vector JavaDoc;
3 /** Test input for MethodDefPadCheck */
4 public class InputMethodParamPad
5 {
6     public InputMethodParamPad()
7     {
8         super();
9     }
10     
11     public InputMethodParamPad (int aParam)
12     {
13         super ();
14     }
15     
16     public InputMethodParamPad
17         (double aParam)
18     {
19         super
20             ();
21     }
22
23     public void method()
24     {
25     }
26     
27     public void method (int aParam)
28     {
29     }
30     
31     public void method
32         (double aParam)
33     {
34         // invoke constructor
35
InputMethodParamPad pad = new InputMethodParamPad();
36         pad = new InputMethodParamPad ();
37         pad = new InputMethodParamPad
38             ();
39
40         // call method
41
method();
42         method ();
43         method
44             ();
45     }
46     
47     public void dottedCalls()
48     {
49         this.method();
50         this.method ();
51         this.method
52             ();
53         
54         InputMethodParamPad p = new InputMethodParamPad();
55         p.method();
56         p.method ();
57         p.method
58             ();
59
60         java.lang.Integer.parseInt("0");
61         java.lang.Integer.parseInt ("0");
62         java.lang.Integer.parseInt
63             ("0");
64     }
65     
66     public void newArray()
67     {
68         int[] a = new int[]{0, 1};
69         java.util.Vector JavaDoc<String JavaDoc> v = new java.util.Vector JavaDoc<String JavaDoc>();
70         java.util.Vector JavaDoc<String JavaDoc> v1 = new Vector JavaDoc<String JavaDoc>();
71     }
72 }
73
Popular Tags