code: public static void checkReflectionParameters(SqlFragmentContainer statement, MethodDeclaration methodDecl) {
  
          ArrayList<ParameterDeclaration> params =
                  new ArrayList<ParameterDeclaration>(methodDecl.getParameters());
          HashMap<String, ParameterDeclaration> paramMap = new HashMap<String, ParameterDeclaration>();
  
          // don't run these checks if this is a compiled class file (method names replaced with arg0, arg1, etc)
          if (params.size() > 0 && params.get(0).getSimpleName().equals("arg0")) {
              return;
          }
  
          for (int i = 0; i < params.size(); i++) {
              paramMap.put(params.get(i).getSimpleName(), params.get(i));
          }
  
          doCheck(statement, paramMap, methodDecl);
      }
docs: Verify that all reflection parameters in the statement element can be mapped to method parameters.
  
  @param statement The parsed statement element.
  @param methodDecl The method declaration which was annotated.