protected void addDecompileBuildRules(StdProject project) {
if (wycsDir != null) {
// whileydir can be null if a subclass of this task doesn't
// necessarily require it.
Wycs2WyalBuilder builder = new Wycs2WyalBuilder(project);
if (verbose) {
builder.setLogger(new Logger.Default(System.err));
}
builder.setDebug(debug);
project.add(new StdBuildRule(builder, wycsDir, Content.filter("**",
WycsFile.ContentType), null, wyalDir));
}
}