-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.json
35 lines (34 loc) · 1.21 KB
/
sample.json
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
{
"pointcuts": [
{
"targetClass": "peacemaker\\.frameworkinjector\\..*Factory",
"targetMethod": ".*",
"insertBefore": " { System.out.println(\"peacemaker.sample: Wildcard test\"); } ",
"insertAfter": "",
"enable": true,
"version": 1,
"description": "Sample for wildcard test."
},
{
"targetClass": "peacemaker\\.frameworkinjector\\.EntryCopyConsumer",
"targetMethod": "accept",
"insertBefore": " { System.out.println(\"peacemaker.sample: onBefore accept\"); } ",
"insertAfter": " { System.out.println(\"peacemaker.sample: onAfter accept\"); } ",
"enable": true,
"version": 1,
"description": "Sample. But it would not work. FrameworkInjector now currently skip interface! Fix it in months."
}
],
"pointcuts_disabled": [
{
"targetClass": "a\\.b\\.c",
"targetMethod": "foo",
"targetParams": ["String"],
"insertBefore": " ",
"insertAfter": " ",
"enable": true,
"version": 1,
"description": "Pointcut disabled."
}
]
}