blob: 015e8ac2dc6f65ba784bb72d92f09bc891a7dd60 (
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
|
package a;
import lombok.experimental.ExtensionMethod;
@ExtensionMethod(Extensions.class) class ExtensionMethodNames {
ExtensionMethodNames() {
super();
}
public void instanceCalls() {
a.Extensions.ext(new Test());
Test t = new Test();
a.Extensions.ext(t);
Test Test = new Test();
a.Extensions.ext(Test);
}
public void staticCalls() {
Test.ext();
a.Test.ext();
}
}
class Extensions {
Extensions() {
super();
}
public static void ext(Test t) {
}
}
class Test {
Test() {
super();
}
public static void ext() {
}
}
|