code: protected boolean hasAnnotation(MethodInvocation invocation, Class<? extends Annotation> annoType) {
          if (hasAnnotationOnClass(invocation, annoType)) {
              return true;
          }
          if (hasAnnotationOnMethod(invocation, annoType)) {
              return true;
          }
          return false;
      }
docs: ====================