mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[preview] IDEA-259969 Reflective preview APIs are incorrectly reported as errors
This patch extracts PreviewFeatureVisitorBase to the top level class. In the visitor there used to be a special case for the new expression in order to reduce the number of warnings/errors, but it appeared to be useless, since the logic to deduce the preview feature element is too complicated. We might need to circle back to it if users complain about the number of warnings in their code. GitOrigin-RevId: 3355caedc7eae3de197f652cc6af7ae605f64971
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9b63667d37
commit
fd24430a7d
@@ -9,4 +9,5 @@ public interface FirstPreviewFeature {
|
||||
}
|
||||
void f();
|
||||
static void g() {}
|
||||
public static final String KEY = "value";
|
||||
}
|
||||
@@ -9,4 +9,5 @@ public interface FirstPreviewFeatureReflective {
|
||||
}
|
||||
void f();
|
||||
static void g() {}
|
||||
public static final String KEY = "value";
|
||||
}
|
||||
@@ -9,4 +9,5 @@ public interface FirstPreviewFeature {
|
||||
}
|
||||
void f();
|
||||
static void g() {}
|
||||
public static final String KEY = "value";
|
||||
}
|
||||
Reference in New Issue
Block a user