private static class JavaScriptRecognizer implements LanguageFootprint {
public Set<Detector> getDetectors() {
return ImmutableSet.of(
new EndWithDetector(0.95, '}', ';', '{'),
new KeywordsDetector(0.3, EcmaScriptKeyword.keywordValues()),
new ContainsDetector(0.95, "*=", "/=", "%=", "+=", "-=", "<<=", ">>=", ">>>=", "&=", "^=", "|="),
new ContainsDetector(0.95, "!=", "!=="));
}