The IJavaImports interface allows enumeration of the import statements in a compile unit.
IJavaImports : IDispatch
This interface defines the following members.
Member | Description |
Add | Adds an import statement for the given package to the compile unit. |
Count | Returns the number of import statements in the compile unit. |
Item | Returns the name of the imported package or class at the given index. |
Remove | Removes the given import statement from the compile unit. |