[devkit] DOM: fix @Stubbed for Extensions

This commit is contained in:
Yann Cébron
2015-08-19 17:52:57 +02:00
parent 597ba8b6b4
commit 2338173c5c
4 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -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 {