MissingJavadocInspection () { MissingJavadocInspection localInspection = new MissingJavadocInspection(); //region visibility localInspection.TOP_LEVEL_CLASS_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; localInspection.INNER_CLASS_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; localInspection.FIELD_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; localInspection.METHOD_SETTINGS.MINIMAL_VISIBILITY = PsiModifier.PRIVATE; //endregion //region class type arguments if (!localInspection.TOP_LEVEL_CLASS_SETTINGS.isTagRequired(PARAM_TAG)) { localInspection.TOP_LEVEL_CLASS_SETTINGS.setTagRequired(PARAM_TAG, true); } if (!localInspection.INNER_CLASS_SETTINGS.isTagRequired(PARAM_TAG)) { localInspection.INNER_CLASS_SETTINGS.setTagRequired(PARAM_TAG, true); } //endregion return localInspection; }