Search in sources :

Example 1 with UseBulkOperationInspection

use of com.intellij.codeInspection.bulkOperation.UseBulkOperationInspection in project intellij-community by JetBrains.

the class UseBulkOperationInspectionTest method configureLocalInspectionTools.

@NotNull
@Override
protected LocalInspectionTool[] configureLocalInspectionTools() {
    UseBulkOperationInspection inspection = new UseBulkOperationInspection();
    inspection.USE_ARRAYS_AS_LIST = true;
    return new LocalInspectionTool[] { inspection };
}
Also used : UseBulkOperationInspection(com.intellij.codeInspection.bulkOperation.UseBulkOperationInspection) LocalInspectionTool(com.intellij.codeInspection.LocalInspectionTool) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

LocalInspectionTool (com.intellij.codeInspection.LocalInspectionTool)1 UseBulkOperationInspection (com.intellij.codeInspection.bulkOperation.UseBulkOperationInspection)1 NotNull (org.jetbrains.annotations.NotNull)1