Synchronizing Source When Updating an Interface

  1. After adding or changing methods to an interface, wait a few seconds for parsing to occur. The Confirm Changes dialog box appears. The dialog box displays the updated methods for the first class found in the Explorer that implements the interface.

    Automatic synchronization works only for interfaces, not abstract superclasses.

    If you have multiple source files that implement the changed interface, a separate Confirm Changes dialog box is displayed for each file.

  2. To add or update methods, select one of the following options: If you do not want to add or update methods, make no selections.

  3. Click Close.

Automatic synchronization happens when you update the methods in an interface in any of the following ways:

OpenAPI calls from other modules to setName(), setParameters(), setExceptions(), setReturnType(), addMethod(), or addMethods() also trigger automatic synchronization.

If you have disabled automatic synchronization for any classes that implement an interface or extend an abstract superclass, you can still synchronize those classes. Choose Tools Synchronize from each class's contextual menu.

The Synchronize command updates methods in non-abstract classes only.

Automatic synchronization works in most cases, but there may be an occasional problem with more complex inheritance hierarchies. If the compiler says your class has methods that are declared but not implemented, invoke source synchronization on the class manually using Tools Synchronize from the class's contextual menu. This will invoke source synchronization all the way up the inheritance hierarchy, which may resolve your compilation error.
See also
Synchronizing Source Code

Setting Source Synchronization Properties

Synchronizing Source in a New Interface

Legal Notices