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:
Mikhail Pyltsin
2024-05-24 11:57:59 +02:00
committed by intellij-monorepo-bot
parent 3183b72cb2
commit 08dd233a7c
3 changed files with 0 additions and 11 deletions

View File

@@ -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);

View File

@@ -15,8 +15,6 @@ public class LombokIncompleteModeHighlightingTest extends LightDaemonAnalyzerTes
public void testLombokBasicsWithExplicitImport() { doTest(); }
public void testLombokLogs() { doTest(); }
private void doTest() {
doTest(getTestName(false) + ".java");
}

View File

@@ -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");
}
}