Interface IProjectImportFilter
-
- All Known Implementing Classes:
ImportNameFilter,ImportRegExNameFilter
public interface IProjectImportFilterOptional Rule how to handleProjectImports, while creating a copy using theProjectRewriteVisitor.- Author:
- El-Sharkawy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectImporthandleImport(ProjectImport pImport, RewriteContext context)Specification how to handleProjectImports.
-
-
-
Method Detail
-
handleImport
ProjectImport handleImport(ProjectImport pImport, RewriteContext context)
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.
-
-