code: private function checkClassObjAndReflectionProperties()
      {
          if ($this->isCalledAfterOn) {
              if ((!$this->classObjOn || !$this->reflectionOn)) {
                  throw new NotFoundException("No class object reflected");
              }
          }
          elseif ((!$this->classObj || !$this->reflection)) {
              throw new NotFoundException("No class object reflected");
          }
      }
docs: $classObj and $reflection properties should be defined.
  
  @throws NotFoundException