@Nonnull
@Override
public FrameworkType check(@Nonnull ProjectDirectory directory) {
Collection csFiles = FileUtils.listFiles(directory.getDirectory(),
new FileExtensionFileFilter("cs"), TrueFileFilter.INSTANCE);
LOG.info("Got " + csFiles.size() + " .cs files from the directory.");
Collection aspxFiles = FileUtils.listFiles(directory.getDirectory(),
new FileExtensionFileFilter("aspx.cs"), TrueFileFilter.INSTANCE);
LOG.info("Got " + aspxFiles.size() + " .aspx.cs files from the directory.");
return csFiles.isEmpty() || !aspxFiles.isEmpty() ? FrameworkType.NONE : FrameworkType.DOT_NET_MVC;
}