mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove JvmElement from parent interfaces of JvmAnnotation, since it is not a JvmElement
GitOrigin-RevId: bc59f7cc17c1f313c16726af4d80908967249a05
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5af0561e6b
commit
79395bbb5e
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.lang.jvm;
|
||||
|
||||
import com.intellij.lang.jvm.annotation.JvmAnnotationAttribute;
|
||||
@@ -10,7 +10,7 @@ import java.util.List;
|
||||
|
||||
import static com.intellij.util.containers.ContainerUtil.find;
|
||||
|
||||
public interface JvmAnnotation extends JvmElement {
|
||||
public interface JvmAnnotation {
|
||||
|
||||
/**
|
||||
* Returns the fully qualified name of the annotation class.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.psi;
|
||||
|
||||
import com.intellij.lang.jvm.JvmAnnotation;
|
||||
@@ -103,25 +103,6 @@ public interface PsiAnnotation extends PsiAnnotationMemberValue, JvmAnnotation {
|
||||
@Nullable
|
||||
PsiAnnotationOwner getOwner();
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
default PsiElement getSourceElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
default void navigate(boolean requestFocus) {}
|
||||
|
||||
@Override
|
||||
default boolean canNavigate() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
default boolean canNavigateToSource() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
default List<JvmAnnotationAttribute> getAttributes() {
|
||||
|
||||
Reference in New Issue
Block a user