summaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/pr350800_3/ProbingAspect.java
blob: 51d410e661292dea4eb0ec2307008417bc70a671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package test.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class ProbingAspect extends AbstractProbingAspect<String> {

    @Pointcut("execution(String test.aop.Adapter.execute(String))")
    protected void adapterMethodExecution() {};
       
    @Override
    protected String extractFunctionName(String command) {   
        return String.valueOf(command);
    }
}