1   package com.puppycrawl.tools.checkstyle.checks.coding.superclone;
2   
3   
4   interface InputSuperClonePlainAndSubclasses {
5       void clone();
6   }
7   
8   class A {
9     public Object clone() {
10        return null;
11    }
12  }
13  
14  class B{
15    public Object clone() throws CloneNotSupportedException {
16        super.clone();
17        return null;
18    }
19    void clone(Object asd, Object asd2) {
20    }
21  }
22  
23  class C extends B {
24    void method() throws CloneNotSupportedException {
25      Object asd = null;
26      super.clone(asd,asd);
27      super.clone();
28      Runnable a = () -> super.clone(null, null);
29    }
30  
31    void method2() {
32      new Runnable() {
33        @Override
34        public void run() {
35          C.super.clone(null, null);
36        }
37      };
38    }
39  }