mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] DOM: fix @Stubbed for Extensions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -105,6 +105,7 @@ public interface IdeaPlugin extends DomElement {
|
||||
|
||||
@NotNull
|
||||
@SubTagList("extensions")
|
||||
@Stubbed
|
||||
List<Extensions> getExtensions();
|
||||
Extensions addExtensions();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -43,6 +43,6 @@ public class PluginXmlDomFileDescription extends DomFileDescription<IdeaPlugin>
|
||||
|
||||
@Override
|
||||
public int getStubVersion() {
|
||||
return 3;
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,4 +13,6 @@
|
||||
<extensionPoint qualifiedName="qualifiedName" beanClass="BeanClass"/>
|
||||
</extensionPoints>
|
||||
|
||||
<extensions defaultExtensionNs="defaultExtensionNs" xmlns="extensionXmlNs"/>
|
||||
|
||||
</idea-plugin>
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -40,7 +40,10 @@ public class PluginXmlDomStubsTest extends DomStubTest {
|
||||
" Attribute:implements:SomeImplements\n" +
|
||||
" Element:extensionPoint\n" +
|
||||
" Attribute:qualifiedName:qualifiedName\n" +
|
||||
" Attribute:beanClass:BeanClass\n");
|
||||
" Attribute:beanClass:BeanClass\n" +
|
||||
" Element:extensions\n" +
|
||||
" Attribute:defaultExtensionNs:defaultExtensionNs\n" +
|
||||
" Attribute:xmlns:extensionXmlNs\n");
|
||||
}
|
||||
|
||||
public void testXInclude() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user