KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > metrics > ClassCouplingCheckTestInput


1 package com.puppycrawl.tools.checkstyle.checks.metrics;
2
3 import javax.naming.*;
4 import java.util.*;
5
6 public class ClassCouplingCheckTestInput {
7     private class InnerClass {
8         public List _list = new ArrayList();
9     }
10
11     private class AnotherInnerClass {
12         public String JavaDoc _string = "";
13     }
14
15     public Set _set = new HashSet();
16     public Map _map = new HashMap();
17     public String JavaDoc _string = "";
18     public int[] _intArray = new int[0];
19     public InnerClass _innerClass = new InnerClass();
20     public AnotherInnerClass _anotherInnerClass = new AnotherInnerClass();
21
22     public void foo() throws NamingException {
23     }
24
25 }
26
27 enum InnerEnum {
28     VALUE1;
29
30     private InnerEnum()
31     {
32         map2 = new HashMap();
33     }
34     private Set map1 = new HashSet();
35     private Map map2;
36 }
37
Popular Tags