Interface IProjectImportFilter

All Known Implementing Classes:
ImportNameFilter, ImportRegExNameFilter

public interface IProjectImportFilter
Optional Rule how to handle ProjectImports, while creating a copy using the ProjectRewriteVisitor.
Author:
El-Sharkawy
  • Method Details

    • handleImport

      ProjectImport handleImport(ProjectImport pImport, RewriteContext context)
      Specification how to handle ProjectImports.
      Parameters:
      pImport - A ProjectImport which may be modified by this class.
      context - Knowledge of the current translation, comes from the ProjectRewriteVisitor.
      Returns:
      The modified element. Maybe the same instance as passed as parameter (if nothing should be changed) or null if the element should be deleted.