Search in sources :

Example 1 with StreamApiMigrationInspection

use of com.intellij.codeInspection.streamMigration.StreamApiMigrationInspection in project intellij-community by JetBrains.

the class StreamApiMigrationInspectionTest method configureLocalInspectionTools.

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

Aggregations

LocalInspectionTool (com.intellij.codeInspection.LocalInspectionTool)1 StreamApiMigrationInspection (com.intellij.codeInspection.streamMigration.StreamApiMigrationInspection)1 NotNull (org.jetbrains.annotations.NotNull)1