aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr314840/Arguments.aj
blob: 846a2008f1dd1adbf2b56e66febdcf71b17ec48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.test;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.aspectj.lang.annotation.Pointcut;

public aspect Arguments {

//    @Pointcut("execution(@Test * *(..)) && @annotation(test) && @within( test1) && this(test2)")
 //   public void unit(Test2 test2, Test1 test1, Test test) {
  //  }

    @Around("execution(@Test * *(..)) && @annotation(test) && @within( test1 ) && this(test2)")
    public void test( ProceedingJoinPoint pjp,
              Test test2,
                      Test1 test1,
                      Test test){

    }
}