summaryrefslogtreecommitdiff
path: root/xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java')
-rw-r--r--xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java20
1 files changed, 17 insertions, 3 deletions
diff --git a/xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java b/xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java
index d861ead47908..0172b6e00113 100644
--- a/xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java
+++ b/xml/dom-tests/tests/com/intellij/util/xml/MockDomElement.java
@@ -1,5 +1,17 @@
/*
- * Copyright (c) 2000-2006 JetBrains s.r.o. All Rights Reserved.
+ * Copyright 2000-2014 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.intellij.util.xml;
@@ -8,8 +20,8 @@ import com.intellij.openapi.util.UserDataHolderBase;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.psi.xml.XmlElement;
import com.intellij.psi.xml.XmlTag;
-import com.intellij.util.xml.reflect.DomGenericInfo;
import com.intellij.util.xml.reflect.AbstractDomChildrenDescription;
+import com.intellij.util.xml.reflect.DomGenericInfo;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -20,7 +32,7 @@ import java.lang.reflect.Type;
/**
* @author peter
*/
-public class MockDomElement extends UserDataHolderBase implements DomElement{
+public class MockDomElement extends UserDataHolderBase implements DomElement {
@Override
@Nullable
public XmlTag getXmlTag() {
@@ -112,6 +124,7 @@ public class MockDomElement extends UserDataHolderBase implements DomElement{
throw new UnsupportedOperationException("Method getManager is not yet implemented in " + getClass().getName());
}
+ @NotNull
@Override
public Type getDomElementType() {
throw new UnsupportedOperationException("Method getDomElementType is not yet implemented in " + getClass().getName());
@@ -123,6 +136,7 @@ public class MockDomElement extends UserDataHolderBase implements DomElement{
throw new UnsupportedOperationException("Method getChildDescription is not yet implemented in " + getClass().getName());
}
+ @NotNull
@Override
public DomNameStrategy getNameStrategy() {
throw new UnsupportedOperationException("Method getNameStrategy is not yet implemented in " + getClass().getName());