original_string: public function getClassesAndAnnotations()
      {
          static $classesAndAnnotations;
          if ($classesAndAnnotations === null) {
              $classesAndAnnotations = [];
              foreach (array_keys($this->indexAnnotations) as $className) {
                  $classesAndAnnotations[$className] = $this->indexAnnotations[$className]['annotation'];
              }
          }
  
          return $classesAndAnnotations;
      }
code: public function getClassesAndAnnotations()
      {
          static $classesAndAnnotations;
          if ($classesAndAnnotations === null) {
              $classesAndAnnotations = [];
              foreach (array_keys($this->indexAnnotations) as $className) {
                  $classesAndAnnotations[$className] = $this->indexAnnotations[$className]['annotation'];
              }
          }
  
          return $classesAndAnnotations;
      }
code_tokens: public function getClassesAndAnnotations ( ) { static $ classesAndAnnotations ; if ( $ classesAndAnnotations === null ) { $ classesAndAnnotations = [ ] ; foreach ( array_keys ( $ this -> indexAnnotations ) as $ className ) { $ classesAndAnnotations [ $ className ] = $ this -> indexAnnotations [ $ className ] [ 'annotation' ] ; } } return $ classesAndAnnotations ; }
docstring: Returns the to-index classes and their annotation
  
  @return array
docstring_tokens: Returns the to - index classes and their annotation