codemaker/Module_codemaker.mk                                                  
                      |    4 
 codemaker/PythonTest_codemaker_python.mk                                       
                      |   17 
 codemaker/tests/pythonmaker/README.md                                          
                      |   71 +
 codemaker/tests/pythonmaker/expected_pyi_stubs/test/__init__.pyi               
                      |    1 
 codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/__init__.pyi     
                      |    1 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Any.pyi
                    |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Boolean.pyi
                |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Byte.pyi
                   |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Char.pyi
                   |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Double.pyi
                 |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum.pyi
                   |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum1.pyi
                  |    9 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum2.pyi
                  |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum3.pyi
                  |   10 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum4.pyi
                  |    9 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Float.pyi
                  |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Hyper.pyi
                  |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Long.pyi
                   |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/PolyStruct.pyi
             |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S1.pyi
                     |   52 +
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S2.pyi
                     |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S4.pyi
                     |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceAny.pyi
            |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceBoolean.pyi
        |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceByte.pyi
           |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceChar.pyi
           |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceDouble.pyi
         |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceEnum.pyi
           |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceFloat.pyi
          |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceHyper.pyi
          |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceLong.pyi
           |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceShort.pyi
          |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceString.pyi
         |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceStruct.pyi
         |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceType.pyi
           |    8 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedHyper.pyi
  |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedLong.pyi
   |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedShort.pyi
  |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXInterface.pyi
     |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXNamingService.pyi
 |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Service.pyi
                |   12 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Short.pyi
                  |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/String.pyi
                 |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct.pyi
                 |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct1.pyi
                |    8 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct2.pyi
                |  105 ++
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/TestConstantsBasic.pyi
     |   15 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Type.pyi
                   |    7 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedHyper.pyi
          |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedLong.pyi
           |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedShort.pyi
          |    4 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XIfc.pyi
                   |   17 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XInterface.pyi
             |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XNamingService.pyi
         |    6 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XTest.pyi
                  |   39 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/__init__.pyi
               |    1 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/abstract.pyi
               |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/assert.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/break.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/catch.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/class.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/continue.pyi
               |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/do.pyi
                     |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/else.pyi
                   |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/MyBaseError.pyi
 |   12 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/SimpleError.pyi
 |   10 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/__init__.pyi
    |    1 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/extends.pyi
                |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/final.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/finally.pyi
                |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/for.pyi
                    |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/goto.pyi
                   |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/if.pyi
                     |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/implements.pyi
             |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/import.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/instanceof.pyi
             |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/int.pyi
                    |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/native.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/new.pyi
                    |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/package.pyi
                |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/private.pyi
                |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/protected.pyi
              |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/public.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/return.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/__init__.pyi
      |    1 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/abstract.pyi
      |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/assert.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/break.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/catch.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/class.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/continue.pyi
      |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/do.pyi
            |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/else.pyi
          |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/extends.pyi
       |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/final.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/finally.pyi
       |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/for.pyi
           |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/goto.pyi
          |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/if.pyi
            |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/implements.pyi
    |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/import.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/instanceof.pyi
    |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/int.pyi
           |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/native.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/new.pyi
           |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/package.pyi
       |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/private.pyi
       |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/protected.pyi
     |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/public.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/return.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/static.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/strictfp.pyi
      |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/super.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/synchronized.pyi
  |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/this.pyi
          |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/throw.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/throws.pyi
        |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/try.pyi
           |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/volatile.pyi
      |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/while.pyi
         |   11 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/static.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/strictfp.pyi
               |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/super.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/synchronized.pyi
           |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/this.pyi
                   |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/throw.pyi
                  |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/throws.pyi
                 |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/try.pyi
                    |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/volatile.pyi
               |   14 
 
codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/while.pyi
                  |   14 
 codemaker/tests/pythonmaker/idl/pythontypes.idl                                
                      |  455 ++++++++++
 codemaker/tests/pythonmaker/test_pythonmaker.py                                
                      |  246 +++++
 132 files changed, 2221 insertions(+)

New commits:
commit 02f3d7e950044a99744bb26fb4e1d9762975d690
Author:     Manish Bera <[email protected]>
AuthorDate: Fri Aug 29 21:15:24 2025 +0530
Commit:     Hossein <[email protected]>
CommitDate: Fri Jan 2 17:59:12 2026 +0100

    Unittests for pythonmaker
    
    This patch adds the unit and integration test suite for the pythonmaker
    tool.
    
    The test is orchestrated by a Python script and uses a "golden file"
    comparison method. It runs `pythonmaker` on a comprehensive test IDL
    and verifies that the generated `.pyi` output exactly matches a set of
    pre-validated reference stubs.
    
    The test is integrated into the build system and runs with 'make check'.
    
    Change-Id: If91814767779812740c543476307600f61c8a656
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188456
    Tested-by: Jenkins
    Reviewed-by: Hossein <[email protected]>

diff --git a/codemaker/Module_codemaker.mk b/codemaker/Module_codemaker.mk
index 495400366539..33df554c3d48 100644
--- a/codemaker/Module_codemaker.mk
+++ b/codemaker/Module_codemaker.mk
@@ -23,4 +23,8 @@ $(eval $(call gb_Module_add_targets,codemaker,\
 ))
 endif
 
+$(eval $(call gb_Module_add_check_targets,codemaker,\
+    PythonTest_codemaker_python \
+))
+
 # vim:set noet sw=4 ts=4:
diff --git a/codemaker/PythonTest_codemaker_python.mk 
b/codemaker/PythonTest_codemaker_python.mk
new file mode 100644
index 000000000000..be453aa5eedf
--- /dev/null
+++ b/codemaker/PythonTest_codemaker_python.mk
@@ -0,0 +1,17 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_PythonTest_PythonTest,codemaker_python))
+$(eval $(call 
gb_PythonTest_add_modules,codemaker_python,$(SRCDIR)/codemaker/tests/pythonmaker,\
+       test_pythonmaker \
+))
+
+$(call gb_PythonTest_get_target,codemaker_python): $(call 
gb_Executable_get_target,pythonmaker)
+
+# vim: set noet sw=4 ts=4:
diff --git a/codemaker/tests/pythonmaker/README.md 
b/codemaker/tests/pythonmaker/README.md
new file mode 100644
index 000000000000..19ba0b183ac3
--- /dev/null
+++ b/codemaker/tests/pythonmaker/README.md
@@ -0,0 +1,71 @@
+# Pythonmaker Test Suite
+
+This directory contains the integration test suite for the `pythonmaker` tool. 
The purpose of this suite is to ensure that `pythonmaker` correctly generates 
Python stub files (`.pyi`) from UNO IDL definitions. It verifies the syntactic 
correctness of the output and protects against future regressions.
+
+The test is automatically executed as part of the `make check` command for the 
`codemaker` module.
+
+## Testing Philosophy
+
+The test suite follows a "Golden File" testing methodology. This is a standard 
and robust approach for testing compilers and code generators. The process is 
as follows:
+
+1.  **Source IDL:** A comprehensive test IDL file (`idl/pythontypes.idl`) 
serves as the single source of truth for all UNO constructs that `pythonmaker` 
is expected to handle.
+2.  **Generate Output:** During the test run, this IDL is compiled into an 
`.rdb` file, and `pythonmaker` is executed to generate a complete set of `.pyi` 
stubs in a temporary directory.
+3.  **Compare Against "Golden" Files:** The newly generated stubs are 
recursively compared against a set of manually verified, correct "golden" stub 
files located in the `expected_pyi_stubs/` directory.
+4.  **Pass/Fail:** The test passes only if the generated output is an exact 
match to the golden files. Any difference—missing files, extra files, or 
content mismatches—will cause the test to fail.
+
+This approach ensures that any change to `pythonmaker` that alters its output 
is immediately detected.
+
+## Directory Structure
+
+-   `idl/pythontypes.idl`: The master IDL file containing all test cases. This 
includes enums, constants, typedefs, structs (plain, inherited, and 
polymorphic), exceptions, interfaces, services, and singletons. It also 
includes edge cases like the use of keywords as identifiers.
+-   `expected_pyi_stubs/`: Contains the "golden" `.pyi` file structure that 
`pythonmaker` is expected to generate from `pythontypes.idl`. This is the 
reference standard for correctness.
+-   `test_pythonmaker.py`: The Python script that orchestrates the entire 
test. It is executed by the build system and is responsible for compiling the 
IDL, running `pythonmaker`, and performing the directory comparison.
+-   `makefile.mk`: The gbuild makefile that integrates the Python test script 
into the LibreOffice `make check` process.
+
+---
+
+## How to Modify or Extend the Test Suite
+
+Future developers may need to modify these tests when fixing a bug or adding a 
new feature to `pythonmaker`. Here is the standard workflow.
+
+### Scenario 1: Fixing a Bug in `pythonmaker`
+
+If you have fixed a bug that was causing `pythonmaker` to generate incorrect 
`.pyi` files, the test suite should now fail because the new, correct output 
will not match the old, incorrect golden files.
+
+**To update the tests:**
+
+1.  **Verify the Fix:** After fixing the C++ code in `pythonmaker`, run the 
test to confirm that it fails as expected. The `diff` error will show you the 
difference between the new output and the old golden files.
+2.  **Regenerate the Golden Files:**
+    a. First, delete the old golden files to ensure a clean slate.
+       ```bash
+       rm -rf codemaker/tests/pythonmaker/expected_pyi_stubs/*
+       ```
+    b. Run your updated `pythonmaker` manually to generate the new, correct 
stubs into a temporary directory. You can find the exact command to run from 
the test script's log output during a `make check` run. A typical command would 
be:
+       ```bash
+       # Run from .../libreoffice/instdir/program/
+       ./pathToPythonmaker.exe -O /path/to/new_golden_output /path/to/test.rdb
+       ```
+3.  **Replace the Golden Files:** Copy the entire generated output into the 
`expected_pyi_stubs/` directory.
+    ```bash
+    cp -r /path/to/new_golden_output/* 
codemaker/tests/pythonmaker/expected_pyi_stubs/
+    ```
+4.  **Validate:** Run `mypy --strict 
codemaker/tests/pythonmaker/expected_pyi_stubs/` to ensure the new golden files 
are syntactically correct and type-safe.
+5.  **Commit:** Commit the changes to `pythonmaker`'s C++ code **along with** 
the updated golden files in your patch. The commit message should explain that 
the golden files were updated to reflect the bug fix.
+
+### Scenario 2: Adding a New Feature to `pythonmaker`
+
+If you add support for a new IDL feature (e.g., a new type or an annotation), 
you should add a test case for it.
+
+1.  **Add a Test Case to the IDL:**
+    *   Open `codemaker/tests/pythonmaker/idl/pythontypes.idl`.
+    *   Add a new, simple example of the feature you've implemented. For 
example, add a new `interface` with a specific attribute you are now supporting.
+2.  **Generate and Verify the New Golden File:**
+    *   Since you've added a new type, a new `.pyi` file will be generated. 
Run `pythonmaker` manually as described above.
+    *   Locate the newly generated `.pyi` file for your new test case.
+    *   **Manually inspect this new file** to ensure it is 100% correct.
+    *   Run `mypy --strict` on this individual file.
+    *   Once verified, place this new golden file in the correct subdirectory 
within `expected_pyi_stubs/`.
+3.  **Run the Full Test Suite:** Run `make check` for the module. The test 
should now pass, as the newly generated output will match your newly added 
golden file.
+4.  **Commit:** Commit the changes to `pythonmaker`'s C++ code, the updated 
`pythontypes.idl`, and the new golden `.pyi` file(s) together in your patch.
+
+By following this workflow, the test suite remains a reliable and 
comprehensive measure of `pythonmaker`'s correctness.
diff --git a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/__init__.pyi 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/__init__.pyi
new file mode 100644
index 000000000000..8e5e7871195c
--- /dev/null
+++ b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/__init__.pyi
@@ -0,0 +1 @@
+# Auto-generated __init__.pyi by pythonmaker
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/__init__.pyi 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/__init__.pyi
new file mode 100644
index 000000000000..8e5e7871195c
--- /dev/null
+++ b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/__init__.pyi
@@ -0,0 +1 @@
+# Auto-generated __init__.pyi by pythonmaker
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Any.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Any.pyi
new file mode 100644
index 000000000000..8558f834af6b
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Any.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import Any
+
+Any = Any
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Boolean.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Boolean.pyi
new file mode 100644
index 000000000000..037ba9a2c14f
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Boolean.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Boolean = bool
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Byte.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Byte.pyi
new file mode 100644
index 000000000000..0894be631e48
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Byte.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Byte = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Char.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Char.pyi
new file mode 100644
index 000000000000..15957341c580
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Char.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Char = str
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Double.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Double.pyi
new file mode 100644
index 000000000000..a3420b8b506f
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Double.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Double = float
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum.pyi
new file mode 100644
index 000000000000..d2c2bc3bb3a5
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from test.codemaker.pythonmaker.Enum2 import Enum2 as 
test_codemaker_pythonmaker_Enum2_
+
+Enum = test_codemaker_pythonmaker_Enum2_
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum1.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum1.pyi
new file mode 100644
index 000000000000..be6a0099c622
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum1.pyi
@@ -0,0 +1,9 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+import enum
+
+class Enum1(enum.Enum):
+    VALUE_NEG = -1
+    VALUE_ZERO = 0
+    VALUE_POS = 1
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum2.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum2.pyi
new file mode 100644
index 000000000000..0a2279b41db8
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum2.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+import enum
+
+class Enum2(enum.Enum):
+    FLAG_NONE = 0
+    FLAG_READ = 1
+    FLAG_WRITE = 2
+    FLAG_EXEC = 4
+    FLAG_ALL = 7
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum3.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum3.pyi
new file mode 100644
index 000000000000..59b5ba4faf9e
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum3.pyi
@@ -0,0 +1,10 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+import enum
+
+class Enum3(enum.Enum):
+    FIRST = 10
+    SECOND = 20
+    THIRD = 100
+    FOURTH = 255
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum4.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum4.pyi
new file mode 100644
index 000000000000..6c4b144a7eb8
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Enum4.pyi
@@ -0,0 +1,9 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+import enum
+
+class Enum4(enum.Enum):
+    AUTO_A = 0
+    AUTO_B = 1
+    AUTO_C = 2
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Float.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Float.pyi
new file mode 100644
index 000000000000..90a451820736
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Float.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Float = float
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Hyper.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Hyper.pyi
new file mode 100644
index 000000000000..e999eb0c3a6f
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Hyper.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Hyper = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Long.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Long.pyi
new file mode 100644
index 000000000000..e28c07ef2495
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Long.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Long = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/PolyStruct.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/PolyStruct.pyi
new file mode 100644
index 000000000000..413e1a950cc8
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/PolyStruct.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import TypeVar, Generic
+
+if_ = TypeVar("if_")
+else_ = TypeVar("else_")
+
+class PolyStruct(Generic[if_, else_]):
+    def __init__(self, member1: if_ | None = ..., member2: int | None = ...) 
-> None:
+        ...
+
+    member1: if_
+    member2: int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S1.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S1.pyi
new file mode 100644
index 000000000000..275d4be7f698
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S1.pyi
@@ -0,0 +1,52 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.lang.ClassNotFoundException import ClassNotFoundException as 
com_sun_star_lang_ClassNotFoundException_
+from com.sun.star.lang.IllegalAccessException import IllegalAccessException as 
com_sun_star_lang_IllegalAccessException_
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.Exception import Exception as com_sun_star_uno_Exception_
+from com.sun.star.uno.RuntimeException import RuntimeException as 
com_sun_star_uno_RuntimeException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+from test.codemaker.pythonmaker.Enum2 import Enum2 as 
test_codemaker_pythonmaker_Enum2_
+from test.codemaker.pythonmaker.Struct1 import Struct1 as 
test_codemaker_pythonmaker_Struct1_
+from test.codemaker.pythonmaker.XTest import XTest as 
test_codemaker_pythonmaker_XTest_
+from typing import Any
+from typing import List
+from typing import Type
+
+class S1:
+    @staticmethod
+    def create1(ctx: com_sun_star_uno_XComponentContext_) -> 
test_codemaker_pythonmaker_XTest_:
+        ...
+
+    @staticmethod
+    def create2(ctx: com_sun_star_uno_XComponentContext_, *args: Any) -> 
test_codemaker_pythonmaker_XTest_:
+        """Raises:
+            com_sun_star_uno_RuntimeException_
+            com_sun_star_lang_ClassNotFoundException_
+            com_sun_star_uno_Exception_
+            com_sun_star_lang_IllegalAccessException_
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
+
+    @staticmethod
+    def create3(ctx: com_sun_star_uno_XComponentContext_, S1: List[Any]) -> 
test_codemaker_pythonmaker_XTest_:
+        """Raises:
+            com_sun_star_uno_RuntimeException_
+            com_sun_star_lang_ClassNotFoundException_
+            com_sun_star_lang_IllegalAccessException_
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
+
+    @staticmethod
+    def create4(ctx: com_sun_star_uno_XComponentContext_, javamaker: int, S1: 
int, create4: int) -> test_codemaker_pythonmaker_XTest_:
+        ...
+
+    @staticmethod
+    def create5(ctx: com_sun_star_uno_XComponentContext_, p1: bool, p2: int, 
p3: int, p4: int, p5: int, p6: int, p7: int, p8: int, p9: float, p10: float, 
p11: str, p12: str, p13: Type[Any], p14: Any, p15: 
test_codemaker_pythonmaker_Enum2_, p16: test_codemaker_pythonmaker_Struct1_, 
p17: com_sun_star_uno_XInterface_, p18: com_sun_star_uno_XNamingService_, t1: 
bool, t2: int, t3: int, t4: int, t5: int, t6: int, t7: int, t8: int, t9: float, 
t10: float, t11: str, t12: str, t13: Type[Any], t14: Any, t15: 
test_codemaker_pythonmaker_Enum2_, t16: test_codemaker_pythonmaker_Struct1_, 
t17: com_sun_star_uno_XInterface_, t18: com_sun_star_uno_XNamingService_, a1: 
List[bool], a2: List[int], a3: List[int], a4: List[int], a5: List[int], a6: 
List[int], a7: List[int], a8: List[int], a9: List[float], a10: List[float], 
a11: List[str], a12: List[str], a13: List[Type[Any]], a14: List[Any], a15: 
List[test_codemaker_pythonmaker_Enum2_], a16: 
List[test_codemaker_pythonmaker_Struct1_], a17: List[com_sun_star_
 uno_XInterface_], a18: List[com_sun_star_uno_XNamingService_], aa1: 
List[List[bool]], aa2: List[List[int]], aa3: List[List[int]], aa4: 
List[List[int]], aa5: List[List[int]], aa6: List[List[int]], aa7: 
List[List[int]], aa8: List[List[int]], aa9: List[List[float]], aa10: 
List[List[float]], aa11: List[List[str]], aa12: List[List[str]], aa13: 
List[List[Type[Any]]], aa14: List[List[Any]], aa15: 
List[List[test_codemaker_pythonmaker_Enum2_]], aa16: 
List[List[test_codemaker_pythonmaker_Struct1_]], aa17: 
List[List[com_sun_star_uno_XInterface_]], aa18: 
List[List[com_sun_star_uno_XNamingService_]], at1: List[List[bool]], at2: 
List[List[int]], at3: List[List[int]], at4: List[List[int]], at5: 
List[List[int]], at6: List[List[int]], at7: List[List[int]], at8: 
List[List[int]], at9: List[List[float]], at10: List[List[float]], at11: 
List[List[str]], at12: List[List[str]], at13: List[List[Type[Any]]], at14: 
List[List[Any]], at15: List[List[test_codemaker_pythonmaker_Enum2_]], at16: 
List[List[test_code
 maker_pythonmaker_Struct1_]], at17: List[List[com_sun_star_uno_XInterface_]], 
at18: List[List[com_sun_star_uno_XNamingService_]]) -> 
test_codemaker_pythonmaker_XTest_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S2.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S2.pyi
new file mode 100644
index 000000000000..32fcfaecd2a2
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S2.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from test.codemaker.pythonmaker.XTest import XTest as 
test_codemaker_pythonmaker_XTest_
+
+class S2:
+    @staticmethod
+    def create(ctx: com_sun_star_uno_XComponentContext_) -> 
test_codemaker_pythonmaker_XTest_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S4.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S4.pyi
new file mode 100644
index 000000000000..1ee119510671
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/S4.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from test.codemaker.pythonmaker.XTest import XTest as 
test_codemaker_pythonmaker_XTest_
+
+class S4:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
test_codemaker_pythonmaker_XTest_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceAny.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceAny.pyi
new file mode 100644
index 000000000000..c3651a9022f7
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceAny.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import Any
+from typing import List
+
+SequenceAny = List[Any]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceBoolean.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceBoolean.pyi
new file mode 100644
index 000000000000..ba486ef7e517
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceBoolean.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceBoolean = List[bool]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceByte.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceByte.pyi
new file mode 100644
index 000000000000..5a84725f96e0
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceByte.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceByte = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceChar.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceChar.pyi
new file mode 100644
index 000000000000..5ac6e196533e
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceChar.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceChar = List[str]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceDouble.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceDouble.pyi
new file mode 100644
index 000000000000..9d7718f94774
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceDouble.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceDouble = List[float]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceEnum.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceEnum.pyi
new file mode 100644
index 000000000000..c0eae23cc497
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceEnum.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from test.codemaker.pythonmaker.Enum2 import Enum2 as 
test_codemaker_pythonmaker_Enum2_
+from typing import List
+
+SequenceEnum = List[test_codemaker_pythonmaker_Enum2_]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceFloat.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceFloat.pyi
new file mode 100644
index 000000000000..b14ff1f48d8c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceFloat.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceFloat = List[float]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceHyper.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceHyper.pyi
new file mode 100644
index 000000000000..96b3f2f83df4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceHyper.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceHyper = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceLong.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceLong.pyi
new file mode 100644
index 000000000000..6b03ec48b8d3
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceLong.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceLong = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceShort.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceShort.pyi
new file mode 100644
index 000000000000..108ff4203797
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceShort.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceShort = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceString.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceString.pyi
new file mode 100644
index 000000000000..c0750835c25b
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceString.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceString = List[str]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceStruct.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceStruct.pyi
new file mode 100644
index 000000000000..d607af826208
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceStruct.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from test.codemaker.pythonmaker.Struct1 import Struct1 as 
test_codemaker_pythonmaker_Struct1_
+from typing import List
+
+SequenceStruct = List[test_codemaker_pythonmaker_Struct1_]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceType.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceType.pyi
new file mode 100644
index 000000000000..ae2f5d15d8c1
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceType.pyi
@@ -0,0 +1,8 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import Any
+from typing import List
+from typing import Type
+
+SequenceType = List[Type[Any]]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedHyper.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedHyper.pyi
new file mode 100644
index 000000000000..932eb16a725d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedHyper.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceUnsignedHyper = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedLong.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedLong.pyi
new file mode 100644
index 000000000000..f0966f1fbff4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedLong.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceUnsignedLong = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedShort.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedShort.pyi
new file mode 100644
index 000000000000..de202f933616
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceUnsignedShort.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import List
+
+SequenceUnsignedShort = List[int]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXInterface.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXInterface.pyi
new file mode 100644
index 000000000000..a3fc11c18d5e
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXInterface.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+from typing import List
+
+SequenceXInterface = List[com_sun_star_uno_XInterface_]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXNamingService.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXNamingService.pyi
new file mode 100644
index 000000000000..ae04373df077
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/SequenceXNamingService.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+from typing import List
+
+SequenceXNamingService = List[com_sun_star_uno_XNamingService_]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Service.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Service.pyi
new file mode 100644
index 000000000000..7dbd89bc4223
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Service.pyi
@@ -0,0 +1,12 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+from typing import Any
+
+class Service:
+    @staticmethod
+    def create(ctx: com_sun_star_uno_XComponentContext_, *args: Any) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Short.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Short.pyi
new file mode 100644
index 000000000000..eedc415c7520
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Short.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+Short = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/String.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/String.pyi
new file mode 100644
index 000000000000..d1896e3c9773
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/String.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+String = str
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct.pyi
new file mode 100644
index 000000000000..e9127de5dbeb
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from test.codemaker.pythonmaker.Struct1 import Struct1 as 
test_codemaker_pythonmaker_Struct1_
+
+Struct = test_codemaker_pythonmaker_Struct1_
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct1.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct1.pyi
new file mode 100644
index 000000000000..c88d769ec622
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct1.pyi
@@ -0,0 +1,8 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+class Struct1(object):
+    def __init__(self, member1: int | None = ...) -> None:
+        ...
+
+    member1: int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct2.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct2.pyi
new file mode 100644
index 000000000000..7136529440d3
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Struct2.pyi
@@ -0,0 +1,105 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+from test.codemaker.pythonmaker.Enum2 import Enum2 as 
test_codemaker_pythonmaker_Enum2_
+from test.codemaker.pythonmaker.Struct1 import Struct1 as 
test_codemaker_pythonmaker_Struct1_
+from typing import Any
+from typing import List
+from typing import Type
+
+class Struct2(object):
+    def __init__(self, p1: bool | None = ..., p2: int | None = ..., p3: int | 
None = ..., p4: int | None = ..., p5: int | None = ..., p6: int | None = ..., 
p7: int | None = ..., p8: int | None = ..., p9: float | None = ..., p10: float 
| None = ..., p11: str | None = ..., p12: str | None = ..., p13: Type[Any] | 
None = ..., p14: Any | None = ..., p15: test_codemaker_pythonmaker_Enum2_ | 
None = ..., p16: test_codemaker_pythonmaker_Struct1_ | None = ..., p17: 
com_sun_star_uno_XInterface_ | None = ..., p18: 
com_sun_star_uno_XNamingService_ | None = ..., t1: bool | None = ..., t2: int | 
None = ..., t3: int | None = ..., t4: int | None = ..., t5: int | None = ..., 
t6: int | None = ..., t7: int | None = ..., t8: int | None = ..., t9: float | 
None = ..., t10: float | None = ..., t11: str | None = ..., t12: str | None = 
..., t13: Type[Any] | None = ..., t14: Any | None = ..., t15: 
test_codemaker_pythonmaker_Enum2_ | None = ..., t16: 
test_codemaker_pythonmaker_Struct1_ | None = ..., t17: com_s
 un_star_uno_XInterface_ | None = ..., t18: com_sun_star_uno_XNamingService_ | 
None = ..., a1: List[bool] | None = ..., a2: List[int] | None = ..., a3: 
List[int] | None = ..., a4: List[int] | None = ..., a5: List[int] | None = ..., 
a6: List[int] | None = ..., a7: List[int] | None = ..., a8: List[int] | None = 
..., a9: List[float] | None = ..., a10: List[float] | None = ..., a11: 
List[str] | None = ..., a12: List[str] | None = ..., a13: List[Type[Any]] | 
None = ..., a14: List[Any] | None = ..., a15: 
List[test_codemaker_pythonmaker_Enum2_] | None = ..., a16: 
List[test_codemaker_pythonmaker_Struct1_] | None = ..., a17: 
List[com_sun_star_uno_XInterface_] | None = ..., a18: 
List[com_sun_star_uno_XNamingService_] | None = ..., aa1: List[List[bool]] | 
None = ..., aa2: List[List[int]] | None = ..., aa3: List[List[int]] | None = 
..., aa4: List[List[int]] | None = ..., aa5: List[List[int]] | None = ..., aa6: 
List[List[int]] | None = ..., aa7: List[List[int]] | None = ..., aa8: 
List[List[int]] 
 | None = ..., aa9: List[List[float]] | None = ..., aa10: List[List[float]] | 
None = ..., aa11: List[List[str]] | None = ..., aa12: List[List[str]] | None = 
..., aa13: List[List[Type[Any]]] | None = ..., aa14: List[List[Any]] | None = 
..., aa15: List[List[test_codemaker_pythonmaker_Enum2_]] | None = ..., aa16: 
List[List[test_codemaker_pythonmaker_Struct1_]] | None = ..., aa17: 
List[List[com_sun_star_uno_XInterface_]] | None = ..., aa18: 
List[List[com_sun_star_uno_XNamingService_]] | None = ..., at1: 
List[List[bool]] | None = ..., at2: List[List[int]] | None = ..., at3: 
List[List[int]] | None = ..., at4: List[List[int]] | None = ..., at5: 
List[List[int]] | None = ..., at6: List[List[int]] | None = ..., at7: 
List[List[int]] | None = ..., at8: List[List[int]] | None = ..., at9: 
List[List[float]] | None = ..., at10: List[List[float]] | None = ..., at11: 
List[List[str]] | None = ..., at12: List[List[str]] | None = ..., at13: 
List[List[Type[Any]]] | None = ..., at14: List[List[Any]] | None
  = ..., at15: List[List[test_codemaker_pythonmaker_Enum2_]] | None = ..., 
at16: List[List[test_codemaker_pythonmaker_Struct1_]] | None = ..., at17: 
List[List[com_sun_star_uno_XInterface_]] | None = ..., at18: 
List[List[com_sun_star_uno_XNamingService_]] | None = ...) -> None:
+        ...
+
+    p1: bool
+    p2: int
+    p3: int
+    p4: int
+    p5: int
+    p6: int
+    p7: int
+    p8: int
+    p9: float
+    p10: float
+    p11: str
+    p12: str
+    p13: Type[Any]
+    p14: Any
+    p15: test_codemaker_pythonmaker_Enum2_
+    p16: test_codemaker_pythonmaker_Struct1_
+    p17: com_sun_star_uno_XInterface_
+    p18: com_sun_star_uno_XNamingService_
+    t1: bool
+    t2: int
+    t3: int
+    t4: int
+    t5: int
+    t6: int
+    t7: int
+    t8: int
+    t9: float
+    t10: float
+    t11: str
+    t12: str
+    t13: Type[Any]
+    t14: Any
+    t15: test_codemaker_pythonmaker_Enum2_
+    t16: test_codemaker_pythonmaker_Struct1_
+    t17: com_sun_star_uno_XInterface_
+    t18: com_sun_star_uno_XNamingService_
+    a1: List[bool]
+    a2: List[int]
+    a3: List[int]
+    a4: List[int]
+    a5: List[int]
+    a6: List[int]
+    a7: List[int]
+    a8: List[int]
+    a9: List[float]
+    a10: List[float]
+    a11: List[str]
+    a12: List[str]
+    a13: List[Type[Any]]
+    a14: List[Any]
+    a15: List[test_codemaker_pythonmaker_Enum2_]
+    a16: List[test_codemaker_pythonmaker_Struct1_]
+    a17: List[com_sun_star_uno_XInterface_]
+    a18: List[com_sun_star_uno_XNamingService_]
+    aa1: List[List[bool]]
+    aa2: List[List[int]]
+    aa3: List[List[int]]
+    aa4: List[List[int]]
+    aa5: List[List[int]]
+    aa6: List[List[int]]
+    aa7: List[List[int]]
+    aa8: List[List[int]]
+    aa9: List[List[float]]
+    aa10: List[List[float]]
+    aa11: List[List[str]]
+    aa12: List[List[str]]
+    aa13: List[List[Type[Any]]]
+    aa14: List[List[Any]]
+    aa15: List[List[test_codemaker_pythonmaker_Enum2_]]
+    aa16: List[List[test_codemaker_pythonmaker_Struct1_]]
+    aa17: List[List[com_sun_star_uno_XInterface_]]
+    aa18: List[List[com_sun_star_uno_XNamingService_]]
+    at1: List[List[bool]]
+    at2: List[List[int]]
+    at3: List[List[int]]
+    at4: List[List[int]]
+    at5: List[List[int]]
+    at6: List[List[int]]
+    at7: List[List[int]]
+    at8: List[List[int]]
+    at9: List[List[float]]
+    at10: List[List[float]]
+    at11: List[List[str]]
+    at12: List[List[str]]
+    at13: List[List[Type[Any]]]
+    at14: List[List[Any]]
+    at15: List[List[test_codemaker_pythonmaker_Enum2_]]
+    at16: List[List[test_codemaker_pythonmaker_Struct1_]]
+    at17: List[List[com_sun_star_uno_XInterface_]]
+    at18: List[List[com_sun_star_uno_XNamingService_]]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/TestConstantsBasic.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/TestConstantsBasic.pyi
new file mode 100644
index 000000000000..a7252abe7598
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/TestConstantsBasic.pyi
@@ -0,0 +1,15 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+class TestConstantsBasic:
+    BOOL_FALSE: bool = False
+    BOOL_TRUE: bool = True
+    HYPER_MAX: int = 9223372036854775807
+    HYPER_MIN: int = -9223372036854775808
+    LONG_HEX: int = 2147483647
+    LONG_MAX: int = 2147483647
+    LONG_MIN: int = -2147483648
+    SHORT_MAX: int = 32767
+    SHORT_MIN: int = -32768
+    ULONG_MAX: int = -1
+    USHORT_MAX: int = 65535
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Type.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Type.pyi
new file mode 100644
index 000000000000..ddb95889694d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/Type.pyi
@@ -0,0 +1,7 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from typing import Any
+from typing import Type
+
+Type = Type[Any]
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedHyper.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedHyper.pyi
new file mode 100644
index 000000000000..86d18e905d78
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedHyper.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+UnsignedHyper = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedLong.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedLong.pyi
new file mode 100644
index 000000000000..bedcdb038538
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedLong.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+UnsignedLong = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedShort.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedShort.pyi
new file mode 100644
index 000000000000..e7e778663217
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/UnsignedShort.pyi
@@ -0,0 +1,4 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+UnsignedShort = int
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XIfc.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XIfc.pyi
new file mode 100644
index 000000000000..87940d5ea949
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XIfc.pyi
@@ -0,0 +1,17 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from abc import abstractmethod
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+from test.codemaker.pythonmaker.PolyStruct import PolyStruct as 
test_codemaker_pythonmaker_PolyStruct_
+from typing import Any
+
+class XIfc(com_sun_star_uno_XInterface_):
+    @abstractmethod
+    def f1(self, arg: test_codemaker_pythonmaker_PolyStruct_[int, int]) -> 
None:
+        ...
+
+    @abstractmethod
+    def f2(self, arg: test_codemaker_pythonmaker_PolyStruct_[Any, 
com_sun_star_uno_XInterface_]) -> None:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XInterface.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XInterface.pyi
new file mode 100644
index 000000000000..a7dc3933106d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XInterface.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+XInterface = com_sun_star_uno_XInterface_
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XNamingService.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XNamingService.pyi
new file mode 100644
index 000000000000..89d7d3f11ee0
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XNamingService.pyi
@@ -0,0 +1,6 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+XNamingService = com_sun_star_uno_XNamingService_
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XTest.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XTest.pyi
new file mode 100644
index 000000000000..a85fe347aeb5
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/XTest.pyi
@@ -0,0 +1,39 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from abc import abstractmethod
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class XTest(com_sun_star_uno_XInterface_):
+    @property
+    @abstractmethod
+    def A1(self) -> int:
+        ...
+    @A1.setter
+    @abstractmethod
+    def A1(self, value: int) -> None:
+        ...
+
+    @property
+    @abstractmethod
+    def A2(self) -> int:
+        ...
+
+    @property
+    @abstractmethod
+    def A3(self) -> int:
+        ...
+    @A3.setter
+    @abstractmethod
+    def A3(self, value: int) -> None:
+        ...
+
+    @property
+    @abstractmethod
+    def A4(self) -> int:
+        ...
+
+    @abstractmethod
+    def test(self) -> bool:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/__init__.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/__init__.pyi
new file mode 100644
index 000000000000..8e5e7871195c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/__init__.pyi
@@ -0,0 +1 @@
+# Auto-generated __init__.pyi by pythonmaker
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/abstract.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/abstract.pyi
new file mode 100644
index 000000000000..6f557cb9b31a
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/abstract.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class abstract:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/assert.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/assert.pyi
new file mode 100644
index 000000000000..2c7b334f42b6
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/assert.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class assert_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/break.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/break.pyi
new file mode 100644
index 000000000000..710a3ef8088b
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/break.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class break_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/catch.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/catch.pyi
new file mode 100644
index 000000000000..e4c72d3113b7
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/catch.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class catch:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/class.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/class.pyi
new file mode 100644
index 000000000000..b8ec9c5ec75a
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/class.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class class_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/continue.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/continue.pyi
new file mode 100644
index 000000000000..11be1b38f399
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/continue.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class continue_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/do.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/do.pyi
new file mode 100644
index 000000000000..122cc299ff94
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/do.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class do:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/else.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/else.pyi
new file mode 100644
index 000000000000..e2f6945591c1
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/else.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class else_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/MyBaseError.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/MyBaseError.pyi
new file mode 100644
index 000000000000..27496d88fc25
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/MyBaseError.pyi
@@ -0,0 +1,12 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.Exception import Exception as com_sun_star_uno_Exception_
+from typing import Any
+
+class MyBaseError(com_sun_star_uno_Exception_):
+    def __init__(self, ErrorCode: int | None = ..., Details: str | None = ..., 
*args: Any, **kwargs: Any) -> None:
+        ...
+
+    ErrorCode: int
+    Details: str
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/SimpleError.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/SimpleError.pyi
new file mode 100644
index 000000000000..42f0a7a4df8e
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/SimpleError.pyi
@@ -0,0 +1,10 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.Exception import Exception as com_sun_star_uno_Exception_
+from typing import Any
+
+class SimpleError(com_sun_star_uno_Exception_):
+    def __init__(self, *args: Any, **kwargs: Any) -> None:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/__init__.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/__init__.pyi
new file mode 100644
index 000000000000..8e5e7871195c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/exceptions/__init__.pyi
@@ -0,0 +1 @@
+# Auto-generated __init__.pyi by pythonmaker
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/extends.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/extends.pyi
new file mode 100644
index 000000000000..649bbcbba40b
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/extends.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class extends:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/final.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/final.pyi
new file mode 100644
index 000000000000..24f09f7b575d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/final.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class final:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/finally.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/finally.pyi
new file mode 100644
index 000000000000..33ceb05b07af
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/finally.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class finally_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/for.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/for.pyi
new file mode 100644
index 000000000000..5724af48fd4c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/for.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class for_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/goto.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/goto.pyi
new file mode 100644
index 000000000000..0141d517c58d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/goto.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class goto:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/if.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/if.pyi
new file mode 100644
index 000000000000..d3b6a30998c0
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/if.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class if_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/implements.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/implements.pyi
new file mode 100644
index 000000000000..1a22bdf920bb
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/implements.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class implements:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/import.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/import.pyi
new file mode 100644
index 000000000000..9ff50a89e024
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/import.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class import_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/instanceof.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/instanceof.pyi
new file mode 100644
index 000000000000..3ca56959f9fc
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/instanceof.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class instanceof:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/int.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/int.pyi
new file mode 100644
index 000000000000..5d88d1acb798
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/int.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class int:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/native.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/native.pyi
new file mode 100644
index 000000000000..d7d56b6f732a
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/native.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class native:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/new.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/new.pyi
new file mode 100644
index 000000000000..68148518e272
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/new.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class new:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/package.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/package.pyi
new file mode 100644
index 000000000000..84491b6d4546
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/package.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class package:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/private.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/private.pyi
new file mode 100644
index 000000000000..fc65c3069e15
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/private.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class private:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/protected.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/protected.pyi
new file mode 100644
index 000000000000..fe409d0b4bba
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/protected.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class protected:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/public.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/public.pyi
new file mode 100644
index 000000000000..f98eb4f1a685
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/public.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class public:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/return.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/return.pyi
new file mode 100644
index 000000000000..81dc7a82947c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/return.pyi
@@ -0,0 +1,14 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.DeploymentException import DeploymentException as 
com_sun_star_uno_DeploymentException_
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XNamingService import XNamingService as 
com_sun_star_uno_XNamingService_
+
+class return_:
+    @staticmethod
+    def get(ctx: com_sun_star_uno_XComponentContext_) -> 
com_sun_star_uno_XNamingService_:
+        """Raises:
+            com_sun_star_uno_DeploymentException_
+        """
+        ...
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/__init__.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/__init__.pyi
new file mode 100644
index 000000000000..8e5e7871195c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/__init__.pyi
@@ -0,0 +1 @@
+# Auto-generated __init__.pyi by pythonmaker
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/abstract.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/abstract.pyi
new file mode 100644
index 000000000000..82293118fbe4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/abstract.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class abstract:
+    @staticmethod
+    def abstract(ctx: com_sun_star_uno_XComponentContext_, abstract: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/assert.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/assert.pyi
new file mode 100644
index 000000000000..a8894bdfa2be
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/assert.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class assert_:
+    @staticmethod
+    def assert_(ctx: com_sun_star_uno_XComponentContext_, assert_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/break.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/break.pyi
new file mode 100644
index 000000000000..2d7c5c1dee5d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/break.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class break_:
+    @staticmethod
+    def break_(ctx: com_sun_star_uno_XComponentContext_, break_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/catch.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/catch.pyi
new file mode 100644
index 000000000000..8a75e8badb11
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/catch.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class catch:
+    @staticmethod
+    def catch(ctx: com_sun_star_uno_XComponentContext_, catch: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/class.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/class.pyi
new file mode 100644
index 000000000000..047194a633a4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/class.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class class_:
+    @staticmethod
+    def class_(ctx: com_sun_star_uno_XComponentContext_, class_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/continue.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/continue.pyi
new file mode 100644
index 000000000000..024ccd64b8fd
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/continue.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class continue_:
+    @staticmethod
+    def continue_(ctx: com_sun_star_uno_XComponentContext_, continue_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/do.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/do.pyi
new file mode 100644
index 000000000000..f654d611dd21
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/do.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class do:
+    @staticmethod
+    def do(ctx: com_sun_star_uno_XComponentContext_, do: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/else.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/else.pyi
new file mode 100644
index 000000000000..7f64ca1f0314
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/else.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class else_:
+    @staticmethod
+    def else_(ctx: com_sun_star_uno_XComponentContext_, else_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/extends.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/extends.pyi
new file mode 100644
index 000000000000..a50b00dd6a4a
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/extends.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class extends:
+    @staticmethod
+    def extends(ctx: com_sun_star_uno_XComponentContext_, extends: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/final.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/final.pyi
new file mode 100644
index 000000000000..c14e120427d9
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/final.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class final:
+    @staticmethod
+    def final(ctx: com_sun_star_uno_XComponentContext_, final: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/finally.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/finally.pyi
new file mode 100644
index 000000000000..941bad551fe4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/finally.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class finally_:
+    @staticmethod
+    def finally_(ctx: com_sun_star_uno_XComponentContext_, finally_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/for.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/for.pyi
new file mode 100644
index 000000000000..6d15d5ab7ebc
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/for.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class for_:
+    @staticmethod
+    def for_(ctx: com_sun_star_uno_XComponentContext_, for_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/goto.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/goto.pyi
new file mode 100644
index 000000000000..02869f1e849c
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/goto.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class goto:
+    @staticmethod
+    def goto(ctx: com_sun_star_uno_XComponentContext_, goto: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/if.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/if.pyi
new file mode 100644
index 000000000000..be605e1b8cdf
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/if.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class if_:
+    @staticmethod
+    def if_(ctx: com_sun_star_uno_XComponentContext_, if_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/implements.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/implements.pyi
new file mode 100644
index 000000000000..60509dbd4625
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/implements.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class implements:
+    @staticmethod
+    def implements(ctx: com_sun_star_uno_XComponentContext_, implements: int) 
-> com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/import.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/import.pyi
new file mode 100644
index 000000000000..4a71abb29222
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/import.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class import_:
+    @staticmethod
+    def import_(ctx: com_sun_star_uno_XComponentContext_, import_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/instanceof.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/instanceof.pyi
new file mode 100644
index 000000000000..a4d14109ffe1
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/instanceof.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class instanceof:
+    @staticmethod
+    def instanceof(ctx: com_sun_star_uno_XComponentContext_, instanceof: int) 
-> com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/int.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/int.pyi
new file mode 100644
index 000000000000..6b8089236870
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/int.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class int:
+    @staticmethod
+    def int(ctx: com_sun_star_uno_XComponentContext_, int: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/native.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/native.pyi
new file mode 100644
index 000000000000..bc072ccb46ff
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/native.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class native:
+    @staticmethod
+    def native(ctx: com_sun_star_uno_XComponentContext_, native: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/new.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/new.pyi
new file mode 100644
index 000000000000..35126638b8e0
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/new.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class new:
+    @staticmethod
+    def new(ctx: com_sun_star_uno_XComponentContext_, new: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/package.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/package.pyi
new file mode 100644
index 000000000000..3326f41715a2
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/package.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class package:
+    @staticmethod
+    def package(ctx: com_sun_star_uno_XComponentContext_, package: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/private.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/private.pyi
new file mode 100644
index 000000000000..91185985768f
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/private.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class private:
+    @staticmethod
+    def private(ctx: com_sun_star_uno_XComponentContext_, private: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/protected.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/protected.pyi
new file mode 100644
index 000000000000..644360a340ff
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/protected.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class protected:
+    @staticmethod
+    def protected(ctx: com_sun_star_uno_XComponentContext_, protected: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/public.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/public.pyi
new file mode 100644
index 000000000000..a98e3fcea9b4
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/public.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class public:
+    @staticmethod
+    def public(ctx: com_sun_star_uno_XComponentContext_, public: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/return.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/return.pyi
new file mode 100644
index 000000000000..616265e85354
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/return.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class return_:
+    @staticmethod
+    def return_(ctx: com_sun_star_uno_XComponentContext_, return_: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/static.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/static.pyi
new file mode 100644
index 000000000000..d1b56c39fa8a
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/static.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class static:
+    @staticmethod
+    def static(ctx: com_sun_star_uno_XComponentContext_, static: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/strictfp.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/strictfp.pyi
new file mode 100644
index 000000000000..189f90be347d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/strictfp.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class strictfp:
+    @staticmethod
+    def strictfp(ctx: com_sun_star_uno_XComponentContext_, strictfp: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/super.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/super.pyi
new file mode 100644
index 000000000000..ec261362176d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/super.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class super:
+    @staticmethod
+    def super(ctx: com_sun_star_uno_XComponentContext_, super: int) -> 
com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/synchronized.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/synchronized.pyi
new file mode 100644
index 000000000000..84e4a1e8955d
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/synchronized.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
+from com.sun.star.uno.XComponentContext import XComponentContext as 
com_sun_star_uno_XComponentContext_
+from com.sun.star.uno.XInterface import XInterface as 
com_sun_star_uno_XInterface_
+
+class synchronized:
+    @staticmethod
+    def synchronized(ctx: com_sun_star_uno_XComponentContext_, synchronized: 
int) -> com_sun_star_uno_XInterface_:
+        ...
+
diff --git 
a/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/this.pyi
 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/this.pyi
new file mode 100644
index 000000000000..eb582c23d4a6
--- /dev/null
+++ 
b/codemaker/tests/pythonmaker/expected_pyi_stubs/test/codemaker/pythonmaker/services/this.pyi
@@ -0,0 +1,11 @@
+# Auto-generated by pythonmaker - DO NOT EDIT.
+from __future__ import annotations
+
-e 
... etc. - the rest is truncated

Reply via email to