@Override
public void call(final SourceUnit source, final GeneratorContext context, final ClassNode classNode) throws CompilationFailedException {
String fileName = source.getName();
ReaderSource reader = source.getSource();
if (reader instanceof FileReaderSource) {
FileReaderSource file = (FileReaderSource) reader;
fileName = file.getFile().getName();
}
if (acceptSource(source) && acceptClass(classNode) && accept(fileName)) {
delegate.call(source, context, classNode);
}
}