Interface CompilationUnitFilter


public interface CompilationUnitFilter
This interface is used by instances of SpoonModelBuilder to exclude particular CompilationUnits while generating a CtModel with SpoonModelBuilder.build(spoon.compiler.builder.JDTBuilder). This interface is useful for large sized software system where traversing all files takes several minutes. Unlike the approach of adding a subset of the files to examine, filtering unwanted files produces a more precise CtModel since all files will be compiled (but not transformed).