* annotation or the method's name itself
*/
private String getOperation(InvocationContext ic) {
RequiredPermission requiredPermission = ic.getMethod().getAnnotation(RequiredPermission.class);
if (requiredPermission == null || Strings.isEmpty(requiredPermission.operation())) {
if (ic.getMethod().getAnnotation(Name.class) == null) {
return ic.getMethod().getName();
} else {
return ic.getMethod().getAnnotation(Name.class).value();
}