AspectJ complaining in IDEA EAP, but runs in Maven 3.0

I have the following
.aj class that IDEA does not seem to like:


public aspect ProfilingAspect {

    private static final Logger logger = LoggerFactory.getLogger(ProfilingAspect.class);

    pointcut publicOperation() : execution(public * *.*(..));

    Object around() : publicOperation() {
        long start = System.nanoTime();
        Object ret = proceed();
        long end = System.nanoTime();
        logger.info("--------------------");
        logger.info("{} took {} nanoseconds.", thisJoinPointStaticPart.getSignature(), (end - start));
        logger.info("--------------------");
        return ret;
    }
}



Attachment(s):
aspect-error.png
0

Please sign in to leave a comment.