code: private boolean isLongAccess(MethodLiteral<?, ?> method) {
      boolean result = method.getReturnType().getRawType().equals(Long.TYPE);
      for (TypeLiteral<?> paramLiteral : method.getParameterTypes()) {
        result |= paramLiteral.getRawType().equals(Long.TYPE);
      }
  
      return result;
    }
docs: Check whether a method needs to have Long access.