mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ignore lombok generated methods
EA-86304 - assert: PsiDiamondTypeUtil.areTypeArgumentsRedundant
This commit is contained in:
@@ -189,7 +189,10 @@ public class PsiDiamondTypeUtil {
|
||||
if (method != null && method.getContainingFile() == containingFile) {
|
||||
final PsiElement startMethodElementInCopy = fileCopy.findElementAt(method.getTextOffset());
|
||||
method = PsiTreeUtil.getParentOfType(startMethodElementInCopy, PsiMethod.class);
|
||||
LOG.assertTrue(method != null, startMethodElementInCopy);
|
||||
if (method == null) {
|
||||
//lombok generated builder
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user