mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DOM-specific @Stubbed annotation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 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.
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.intellij.openapi.util.NullableLazyValue;
|
||||
import com.intellij.pom.references.PomService;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.SmartPsiElementPointer;
|
||||
import com.intellij.psi.stubs.Stubbed;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import com.intellij.util.ReflectionUtil;
|
||||
import com.intellij.util.xml.*;
|
||||
import com.intellij.util.xml.reflect.AbstractDomChildrenDescription;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package com.intellij.util.xml.stubs.builder;
|
||||
|
||||
import com.intellij.psi.stubs.Stubbed;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import com.intellij.psi.xml.XmlAttribute;
|
||||
import com.intellij.psi.xml.XmlElement;
|
||||
import com.intellij.psi.xml.XmlTag;
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2000-2009 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.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @author max
|
||||
*/
|
||||
package com.intellij.util.xml;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(value = RetentionPolicy.RUNTIME)
|
||||
@Target(value = {ElementType.METHOD, ElementType.TYPE})
|
||||
public @interface Stubbed {
|
||||
|
||||
boolean stubAllAttributes() default false;
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
package com.intellij.util.xml.stubs.model;
|
||||
|
||||
import com.intellij.psi.PsiClass;
|
||||
import com.intellij.psi.stubs.Stubbed;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import com.intellij.util.xml.Attribute;
|
||||
import com.intellij.util.xml.DomElement;
|
||||
import com.intellij.util.xml.GenericAttributeValue;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package com.intellij.util.xml.stubs.model;
|
||||
|
||||
import com.intellij.psi.stubs.Stubbed;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import com.intellij.util.xml.GenericAttributeValue;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.intellij.util.xml.stubs.model;
|
||||
|
||||
import com.intellij.psi.stubs.Stubbed;
|
||||
import com.intellij.util.xml.Stubbed;
|
||||
import com.intellij.util.xml.DomElement;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
Reference in New Issue
Block a user