mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable external annotations for decompiled code (IDEA-192056)
This commit is contained in:
@@ -732,7 +732,12 @@ public class ExternalAnnotationsManagerImpl extends ReadableExternalAnnotationsM
|
||||
}
|
||||
|
||||
public static boolean areExternalAnnotationsApplicable(@NotNull PsiModifierListOwner owner) {
|
||||
if (!owner.isPhysical()) return false;
|
||||
if (!owner.isPhysical()) {
|
||||
PsiElement originalElement = owner.getOriginalElement();
|
||||
if (!(originalElement instanceof PsiCompiledElement)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (owner instanceof PsiLocalVariable) return false;
|
||||
if (owner instanceof PsiParameter) {
|
||||
PsiElement parent = owner.getParent();
|
||||
|
||||
Reference in New Issue
Block a user