diff --git a/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java b/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java index b06b34276bb..e02309ea55f 100644 --- a/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java +++ b/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java @@ -71,7 +71,9 @@ public Annotation createWeakWarningAnnotation(PsiElement elt, @Nullable String m return null; } - @Override + // This method is removed in the newer APIs, but is present in the older ones, so let's keep it + // for now and remove it later. + // TODO: remove this method public Annotation createWeakWarningAnnotation(ASTNode node, @Nullable String message) { return null; }