1 package com.puppycrawl.tools.checkstyle.grammar.antlr4;
2
3 import org.apache.tools.ant.types.Path;
4
5 public class InputAntlr4AstRegressionExpressions {
6
7 public void method() {
8 InputAntlr4AstRegressionExpressions.<Path>method("classpath");
9 }
10
11 public static <T> T method(String fieldName) {
12 return null;
13 }
14
15 class B {
16 public Object clone() throws CloneNotSupportedException {
17 super.clone();
18 return null;
19 }
20
21 void clone(Object asd, Object asd2) {
22 }
23 }
24
25 class C extends B {
26 void method2() {
27 new Runnable() {
28 @Override
29 public void run() {
30 C.super.clone(null, null);
31 }
32 };
33 }
34 }
35
36 }