3940414243444546474849
// AOP code Method currentMethod = ((MethodSignature)jp.getSignature()).getMethod(); // plain Java code Async theCurrentAnnotation = currentMethod.getAnnotation(Async.class); //System.out.println("AsyncAspect.run - timeout = " + theCurrentAnnotation.timeout()); jp.proceed(); } catch (Throwable t) { t.printStackTrace();