View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.design.onetoplevelclass;
2   public class InputOneTopLevelClassClone
3   {/* class body */
4       public InputOneTopLevelClassClone() throws CloneNotSupportedException
5       { //constructor body
6           super.equals(new String());
7           super.clone();
8       }
9       
10      public Object clone() throws CloneNotSupportedException
11      {
12          return super.clone();
13      }
14      
15      public void method() throws CloneNotSupportedException
16      {
17          super.clone();
18      }
19      
20      {
21          super.clone();
22      }
23  }
24  
25  class NoSuperClone
26  {
27  }
28  
29  class InnerClone
30  {
31  }
32  
33  class CloneWithTypeArguments<T> extends CloneWithTypeArgumentsAndNoSuper<T>
34  {
35  }
36  
37  class CloneWithTypeArgumentsAndNoSuper<T>
38  {
39  }
40  
41  class MyClassWithGenericSuperMethod
42  {
43  }
44  
45  class AnotherClass {
46  }
47  
48  class NativeTest {
49      public native Object clone();
50  }