blob: 4ca63a63964612c24dc87c8fe0e463414091fc2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package a;
import lombok.experimental.ExtensionMethod;
@ExtensionMethod(Extensions.class)
class ExtensionMethodNames {
public void instanceCalls() {
(new Test()).ext();
Test t = new Test();
t.ext();
Test Test = new Test();
Test.ext();
}
public void staticCalls() {
Test.ext();
a.Test.ext();
}
}
class Extensions {
public static void ext(Test t) {
}
}
class Test {
public static void ext() {
}
}
|