import org.aspectj.lang.reflect.MethodSignature; public aspect MainAspect { pointcut testcall(): execution(* test*(..)); before(): testcall() { MethodSignature sig = (MethodSignature) thisJoinPointStaticPart.getSignature(); System.out.println(sig); Class[] params = sig.getParameterTypes(); for(int i=0;i