public interface CompilationUnitFilter
SpoonModelBuilderto exclude particular
CompilationUnits while generating a
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
CtModelsince all files will be compiled (but not transformed).
boolean exclude(String path)
pathshould be excluded from the
path- Path to the file that may or may not be excluded.
trueif and only if
pathshould be excluded,
Copyright © 2007–2019 Inria. All rights reserved.