OptPane () { return pane( checkbox("myConsiderUnknownContextBlocking", JvmAnalysisBundle.message("jvm.inspections.blocking.method.consider.unknown.context.blocking")), checkbox("myConsiderSuspendContextNonBlocking", JvmAnalysisBundle.message("jvm.inspections.blocking.method.consider.suspend.context.non.blocking")), stringList("myBlockingAnnotations", JvmAnalysisBundle.message("jvm.inspections.blocking.method.annotation.blocking"), new JavaClassValidator().withTitle( JvmAnalysisBundle.message("jvm.inspections.blocking.method.annotation.configure.add.blocking.title")) .annotationsOnly()), stringList("myNonBlockingAnnotations", JvmAnalysisBundle.message("jvm.inspections.blocking.method.annotation.non-blocking"), new JavaClassValidator().withTitle( JvmAnalysisBundle.message("jvm.inspections.blocking.method.annotation.configure.add.non-blocking.title")) .annotationsOnly()) ); }