@Override
  public PsiClass @NotNull [] getClasses() {
    final PsiClass[] declaredDefs = super.getClasses();
    if (!isScript()) return declaredDefs;
    final PsiClass scriptClass = getScriptClass();
    return ArrayUtil.append(declaredDefs, scriptClass);
  }
@Override
  public PsiClass @NotNull [] getClasses()