def METHOD_NAME(self, toolVersion):
    runtimeVersion = "4.11.1"
    rvmajor, rvminor = self.extractVersion(runtimeVersion)
    tvmajor, tvminor = self.extractVersion(toolVersion)
    if rvmajor!=tvmajor or rvminor!=tvminor:
        print("ANTLR runtime and generated code versions disagree: "+runtimeVersion+"!="+toolVersion)