GoLand 2026.3 Help

Extract Interface dialog

Refactor | Extract Interface

For more information about using Extract Interface, refer to the extract interface section.

Item

Description

Extract interface from

Shows the qualified name of the source type from which you extract the interface. You cannot edit this field.

Interface name

Enter a name for the new interface.

Declarations

Select the methods of the source type or interface to include in the new interface.

To directory

Specify the target directory for the new interface. If needed, click the browse icon (Browse button) and select the directory.

To file

Specify the file name for the new interface. If needed, click the browse icon (Browse button) and select the file.

To package

Specify the package for the new interface. If needed, click the browse icon (Browse button) and select the package directory.

22 September 2026