public Object doAround(ProceedingJoinPoint pjp) throws Throwable {
Method method = ((MethodSignature) pjp.getSignature()).getMethod();
Annotation[][] parameterAnnotations = method.getParameterAnnotations();
/**带特定注解的参数下标集合*/
List<Integer> indexs = Lists.newArrayList();
for (int i = 0; i < parameterAnnotations.length; i++) {
for (Annotation an : parameterAnnotations[i]) {
if (an instanceof Valid) {
indexs.add(i);
}
}
}
/**传入下标可以取到参数值*/
final Object[] argss = pjp.getArgs();
// final String lockName = getLockName(method, pjp);
// return lock(pjp, method, lockName);
}