mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
IDEA-214819 Support "Goto EP declaration in plugin.xml" for EPN<KeyedLazyInstance<T>>
GitOrigin-RevId: fe0f63be7f4ab30b55f0159c5ecf9965222982c4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed4688ed0f
commit
f0b7dba01a
@@ -0,0 +1,9 @@
|
||||
import com.intellij.openapi.extensions.ExtensionPointName;
|
||||
import com.intellij.util.KeyedLazyInstance;
|
||||
|
||||
public class MyStringEP {
|
||||
|
||||
public static final ExtensionPointName<KeyedLazyInstance<String>> EP_<caret>NAME =
|
||||
ExtensionPointName.create("com.intellij.myStringEP");
|
||||
|
||||
}
|
||||
@@ -62,6 +62,10 @@ public class ExtensionPointDeclarationRelatedItemLineMarkerProviderTest extends
|
||||
assertSingleEPDeclaration("MyStringProjectEP.java");
|
||||
}
|
||||
|
||||
public void testMyStringKeyedLazyInstanceEP() {
|
||||
assertSingleEPDeclaration("MyStringKeyedLazyInstanceEP.java");
|
||||
}
|
||||
|
||||
private void assertSingleEPDeclaration(String filePath) {
|
||||
PsiFile file = myFixture.configureByFile("plugin.xml");
|
||||
String path = file.getVirtualFile().getPath();
|
||||
|
||||
Reference in New Issue
Block a user