public class Pr114495 { public static void main(String[] args) { C.go(); } static class C { static void go() {} } } abstract aspect AA_ParameterizedTypeInPointcut { pointcut going() :call(void Target.go()) ; before() : going() { System.out.println("AA.going()"); } } aspect A_ParameterizedTypeInPointcut extends AA_ParameterizedTypeInPointcut { declare warning : going() : "going()"; // works fine before() : going() { // advice not applied System.out.println("A.going()"); } }nge='this.form.submit();'> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
blob: 0991c5ac1df8b9ded0b1a303d7af8dbdf0a76283 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53