Config(Set<String> annotationWhitelist, Set<String> suppressionNames, boolean isIdeMode, boolean parseJsDocDocumentation, boolean preserveJsDocWhitespace, LanguageMode languageMode) { this.annotationNames = buildAnnotationNames(annotationWhitelist); this.parseJsDocDocumentation = parseJsDocDocumentation; this.preserveJsDocWhitespace = preserveJsDocWhitespace; this.suppressionNames = suppressionNames; this.isIdeMode = isIdeMode; this.languageMode = languageMode; }