aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/pr350800_2/AbstractProbingAspect.java
blob: b6cb370ebecfd9a74362792d14632325439146c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package test.aop;

import java.io.Serializable;

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

public abstract aspect AbstractProbingAspect<T extends Serializable> {
  
    abstract pointcut adapterMethodExecution();
   
 
    T around(): adapterMethodExecution() {
        return (T) proceed();       
    }   
   
    protected abstract String extractFunctionName(T command);
}