mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] remove superfluous @Stubbed
after adding IdeaPluginRegistrationIndex we don't need them
(a7e69bec73))
This commit is contained in:
@@ -67,7 +67,6 @@ public interface Action extends ActionOrGroup {
|
||||
@ExtendClass(value = "com.intellij.openapi.actionSystem.AnAction",
|
||||
allowNonPublic = true, allowAbstract = false, allowInterface = false)
|
||||
@Convert(PluginPsiClassConverter.class)
|
||||
@Stubbed
|
||||
GenericAttributeValue<PsiClass> getClazz();
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
package org.jetbrains.idea.devkit.dom;
|
||||
|
||||
import com.intellij.util.xml.DomElement;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -28,7 +27,6 @@ import java.util.List;
|
||||
/**
|
||||
* plugin.dtd:application-components interface.
|
||||
*/
|
||||
@Stubbed
|
||||
public interface ApplicationComponents extends DomElement {
|
||||
|
||||
/**
|
||||
@@ -36,7 +34,6 @@ public interface ApplicationComponents extends DomElement {
|
||||
* @return the list of component children.
|
||||
*/
|
||||
@NotNull
|
||||
@Stubbed
|
||||
List<Component.Application> getComponents();
|
||||
/**
|
||||
* Adds new child to the list of component children.
|
||||
|
||||
@@ -26,13 +26,11 @@ import java.util.List;
|
||||
/**
|
||||
* plugin.dtd:component interface.
|
||||
*/
|
||||
@Stubbed
|
||||
public interface Component extends DomElement {
|
||||
|
||||
@NotNull
|
||||
@Required
|
||||
@Convert(PluginPsiClassConverter.class)
|
||||
@Stubbed
|
||||
GenericDomValue<PsiClass> getImplementationClass();
|
||||
|
||||
|
||||
|
||||
@@ -76,7 +76,6 @@ public interface Group extends Actions, ActionOrGroup {
|
||||
@ExtendClass(value = "com.intellij.openapi.actionSystem.ActionGroup",
|
||||
allowAbstract = false, allowInterface = false)
|
||||
@Convert(PluginPsiClassConverter.class)
|
||||
@Stubbed
|
||||
GenericAttributeValue<PsiClass> getClazz();
|
||||
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package org.jetbrains.idea.devkit.dom;
|
||||
|
||||
import com.intellij.util.xml.DomElement;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -25,7 +24,6 @@ import java.util.List;
|
||||
/**
|
||||
* plugin.dtd:module-components interface.
|
||||
*/
|
||||
@Stubbed
|
||||
public interface ModuleComponents extends DomElement {
|
||||
|
||||
/**
|
||||
@@ -33,7 +31,6 @@ public interface ModuleComponents extends DomElement {
|
||||
* @return the list of component children.
|
||||
*/
|
||||
@NotNull
|
||||
@Stubbed
|
||||
List<Component.Module> getComponents();
|
||||
/**
|
||||
* Adds new child to the list of component children.
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package org.jetbrains.idea.devkit.dom;
|
||||
|
||||
import com.intellij.util.xml.DomElement;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -25,11 +24,9 @@ import java.util.List;
|
||||
/**
|
||||
* plugin.dtd:project-components interface.
|
||||
*/
|
||||
@Stubbed
|
||||
public interface ProjectComponents extends DomElement {
|
||||
|
||||
@NotNull
|
||||
@Stubbed
|
||||
List<Component.Project> getComponents();
|
||||
|
||||
Component.Project addComponent();
|
||||
|
||||
@@ -43,6 +43,6 @@ public class PluginXmlDomFileDescription extends DomFileDescription<IdeaPlugin>
|
||||
|
||||
@Override
|
||||
public int getStubVersion() {
|
||||
return 7;
|
||||
return 8;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,29 +49,16 @@ public class PluginXmlDomStubsTest extends DomStubTest {
|
||||
" Element:action\n" +
|
||||
" Attribute:id:actionId\n" +
|
||||
" Attribute:text:actionText\n" +
|
||||
" Attribute:class:actionClass\n" +
|
||||
" Element:group\n" +
|
||||
" Attribute:id:groupId\n" +
|
||||
" Attribute:class:groupClass\n" +
|
||||
" Element:action\n" +
|
||||
" Attribute:id:groupAction\n" +
|
||||
" Attribute:text:groupActionText\n" +
|
||||
" Attribute:class:actionClass\n" +
|
||||
" Element:group\n" +
|
||||
" Attribute:id:nestedGroup\n" +
|
||||
" Element:action\n" +
|
||||
" Attribute:id:nestedGroupActionId\n" +
|
||||
" Attribute:text:nestedGroupActionText\n" +
|
||||
" Attribute:class:actionClass\n" +
|
||||
" Element:application-components\n" +
|
||||
" Element:component\n" +
|
||||
" Element:implementation-class:applicationComponentClass\n" +
|
||||
" Element:project-components\n" +
|
||||
" Element:component\n" +
|
||||
" Element:implementation-class:projectComponentClass\n" +
|
||||
" Element:module-components\n" +
|
||||
" Element:component\n" +
|
||||
" Element:implementation-class:moduleComponentClass\n");
|
||||
" Attribute:text:nestedGroupActionText\n");
|
||||
}
|
||||
|
||||
public void testXInclude() {
|
||||
|
||||
Reference in New Issue
Block a user