code: private boolean isSetter(AptMethod method) {
          String methodName = method.getName();
  
          if (methodName.length() < 4)
              return false;
  
          if (!methodName.startsWith("set"))
              return false;
  
          String argList = method.getArgList();
          if (argList.length() == 0)
              return false;
  
          if (argList.indexOf(',') > -1)
              return false;
  
          if (!"void".equals(method.getReturnType()))
              return false;
  
          return true;
      }
docs: Does the method have a Java Beans setter method signature (is varient).
  @param method AptMethod instance.
  @return true if setter.