Search in sources :

Example 6 with JavaDocLocalInspection

use of com.intellij.codeInspection.javaDoc.JavaDocLocalInspection in project intellij-community by JetBrains.

the class JavadocInspectionQuickFixTest method configureLocalInspectionTools.

@NotNull
@Override
protected LocalInspectionTool[] configureLocalInspectionTools() {
    final JavaDocLocalInspection javaDocLocalInspection = new JavaDocLocalInspection();
    javaDocLocalInspection.TOP_LEVEL_CLASS_OPTIONS.REQUIRED_TAGS = "param";
    javaDocLocalInspection.TOP_LEVEL_CLASS_OPTIONS.ACCESS_JAVADOC_REQUIRED_FOR = "package";
    javaDocLocalInspection.METHOD_OPTIONS.ACCESS_JAVADOC_REQUIRED_FOR = "package";
    return new LocalInspectionTool[] { javaDocLocalInspection };
}
Also used : LocalInspectionTool(com.intellij.codeInspection.LocalInspectionTool) JavaDocLocalInspection(com.intellij.codeInspection.javaDoc.JavaDocLocalInspection) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

JavaDocLocalInspection (com.intellij.codeInspection.javaDoc.JavaDocLocalInspection)6 JavaDocReferenceInspection (com.intellij.codeInspection.javaDoc.JavaDocReferenceInspection)2 NotNull (org.jetbrains.annotations.NotNull)2 InspectionManager (com.intellij.codeInspection.InspectionManager)1 LocalInspectionTool (com.intellij.codeInspection.LocalInspectionTool)1 ProblemDescriptor (com.intellij.codeInspection.ProblemDescriptor)1 LocalInspectionToolWrapper (com.intellij.codeInspection.ex.LocalInspectionToolWrapper)1 PsiDocComment (com.intellij.psi.javadoc.PsiDocComment)1