OptPane () { return OptPane.pane( OptPane.checkbox("skipIfContainsReferenceExpression", InspectionGadgetsBundle.message("inspection.constant.expression.skip.non.literal")) .description(InspectionGadgetsBundle.message("inspection.constant.expression.skip.non.literal.description")), OptPane.checkbox("reportOnlyCompileTimeConstants", InspectionGadgetsBundle.message("inspection.constant.expression.report.compile.time")) .description(InspectionGadgetsBundle.message("inspection.constant.expression.report.compile.time.description"))); }