@Override
  public PyFunction @NotNull [] getMethods() {
    final TokenSet functionDeclarationTokens = PythonDialectsTokenSetProvider.getInstance().getFunctionDeclarationTokens();
    return getClassChildren(functionDeclarationTokens, PyFunction.class, PyFunction.ARRAY_FACTORY);
  }
@Override
  public PyFunction @NotNull [] getMethods()