/**
  * Initializes and returns an array with annotation instances from the doc comment
  * found in the passed reflection class instance.
  *
  * @param \AppserverIo\Lang\Reflection\ClassInterface $reflectionClass The reflection class to load the doc comment from
  *
  * @return array The array with the ReflectionAnnotation instances loaded from the passed reflection class
  * @see \AppserverIo\Lang\Reflection\ReflectionAnnotation::fromDocComment()
  */
 public static function fromReflectionClass(ClassInterface $reflectionClass)
 {
     // load the reflection method data we need to initialize the annotations
     $aliases = $reflectionClass->getAnnotationAliases();
     $ignore = $reflectionClass->getAnnotationsToIgnore();
     $docComment = $reflectionClass->toPhpReflectionClass()->getDocComment();
     // load and return the annotations found in the doc comment
     return ReflectionAnnotation::fromDocComment($docComment, $ignore, $aliases);
 }