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 Summary
Modifier and TypeMethodDescriptionhandleImport(ProjectImport pImport, RewriteContext context) Specification how to handleProjectImports.
-
Method Details
-
handleImport
Specification how to handleProjectImports.- Parameters:
pImport- AProjectImportwhich may be modified by this class.context- Knowledge of the current translation, comes from theProjectRewriteVisitor.- 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.
-