mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 12:14:37 +07:00
GitOrigin-RevId: 97168a2d412b9f3227f5f76086e110f9c0f66311
26 lines
787 B
Java
26 lines
787 B
Java
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
|
package com.siyeh.ig.memory;
|
|
|
|
import com.intellij.codeInspection.InspectionProfileEntry;
|
|
import com.intellij.testFramework.LightProjectDescriptor;
|
|
import com.siyeh.ig.LightJavaInspectionTestCase;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public class StaticCollectionInspectionTest extends LightJavaInspectionTestCase {
|
|
public void testStaticCollectionInspection() {
|
|
doTest();
|
|
}
|
|
|
|
@Override
|
|
protected @NotNull LightProjectDescriptor getProjectDescriptor() {
|
|
return JAVA_11;
|
|
}
|
|
|
|
@Nullable
|
|
@Override
|
|
protected InspectionProfileEntry getInspection() {
|
|
return new StaticCollectionInspection();
|
|
}
|
|
}
|