mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
Revert "IJ-CR-134196 [java-highlighting] M IDEA-352727 Incomplete model with lombok"
This reverts commit f5e7bc91b1e5634a0a042f0fd90b6be3ca943a28. GitOrigin-RevId: 7b56b8477eee650f4cf031144bee3ace8a452716
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3183b72cb2
commit
08dd233a7c
@@ -236,7 +236,6 @@ final class IncompleteModelUtil {
|
||||
PsiExpression qualifier = refExpr.getQualifierExpression();
|
||||
if (qualifier == null) {
|
||||
PsiClass psiClass = ClassUtils.getContainingClass(ref);
|
||||
if (canBeAugmented(psiClass)) return true;
|
||||
while (psiClass != null) {
|
||||
if (!isHierarchyResolved(psiClass)) return true;
|
||||
psiClass = ClassUtils.getContainingClass(psiClass);
|
||||
|
||||
@@ -15,8 +15,6 @@ public class LombokIncompleteModeHighlightingTest extends LightDaemonAnalyzerTes
|
||||
|
||||
public void testLombokBasicsWithExplicitImport() { doTest(); }
|
||||
|
||||
public void testLombokLogs() { doTest(); }
|
||||
|
||||
private void doTest() {
|
||||
doTest(getTestName(false) + ".java");
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import <info descr="Not resolved until the project is fully loaded">lombok</info>.<info descr="Not resolved until the project is fully loaded">extern</info>.<info descr="Not resolved until the project is fully loaded">slf4j</info>.<info descr="Not resolved until the project is fully loaded">Slf4j</info>;
|
||||
|
||||
@<info descr="Not resolved until the project is fully loaded">Slf4j</info>
|
||||
public class LombokLogs {
|
||||
public void validate() {
|
||||
<info descr="Not resolved until the project is fully loaded">log</info>.<info descr="Not resolved until the project is fully loaded">atInfo</info>().<info descr="Not resolved until the project is fully loaded">log</info>("Validating user");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user