@Nullable
  private static PsiClassType getSuperClassTypeFromBaseScriptAnnotatedPackageDefinition(@NotNull GroovyScriptClass scriptClass) {
    GrPackageDefinition packageDefinition = scriptClass.getContainingFile().getPackageDefinition();
    if (packageDefinition == null) {
      return null;
    }
    PsiModifierList modifierList = packageDefinition.getModifierList();
    if (modifierList == null) {
      return null;
    }
    PsiAnnotation baseScriptAnnotation = modifierList.findAnnotation(GROOVY_TRANSFORM_BASE_SCRIPT);
    if (baseScriptAnnotation == null) {
      return null;
    }
    return getSuperClassTypeFromAnnotationValue(scriptClass, baseScriptAnnotation);
  }
@Nullable
  private static PsiClassType getSuperClassTypeFromBaseScriptAnnotatedPackageDefinition(@NotNull GroovyScriptClass scriptClass)