List of usage examples for org.aspectj.lang JoinPoint METHOD_EXECUTION
String METHOD_EXECUTION
To view the source code for org.aspectj.lang JoinPoint METHOD_EXECUTION.
Click Source Link
From source file:com.github.drinkjava2.jbeanbox.AspectjJoinPoint.java
License:Apache License
@Override public String getKind() { return JoinPoint.METHOD_EXECUTION; }
From source file:org.failearly.ajunit.AjUnitAspectTest.java
License:Open Source License
private static JoinPoint.StaticPart joinpoint() throws NoSuchMethodException { final JoinPoint.StaticPart joinPointStaticPart = Mockito.mock(JoinPoint.StaticPart.class); Mockito.when(joinPointStaticPart.getKind()).thenReturn(JoinPoint.METHOD_EXECUTION); final MethodSignature methodSignature = getMethodSignature(); Mockito.when(joinPointStaticPart.getSignature()).thenReturn(methodSignature); return joinPointStaticPart; }