mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[lombok] skip processing of compiled classes
GitOrigin-RevId: e0fa52faeed86f44654093eb79189e9181c88c68
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31eec004df
commit
ed96ad928b
@@ -88,7 +88,9 @@ public class LombokAugmentProvider extends PsiAugmentProvider {
|
|||||||
@NotNull final Class<Psi> type,
|
@NotNull final Class<Psi> type,
|
||||||
@Nullable String nameHint) {
|
@Nullable String nameHint) {
|
||||||
final List<Psi> emptyResult = Collections.emptyList();
|
final List<Psi> emptyResult = Collections.emptyList();
|
||||||
if ((type != PsiClass.class && type != PsiField.class && type != PsiMethod.class) || !(element instanceof PsiExtensibleClass)) {
|
if ((type != PsiClass.class && type != PsiField.class && type != PsiMethod.class) || !(element instanceof PsiExtensibleClass)
|
||||||
|
|| (element instanceof PsiCompiledElement) // skip compiled classes
|
||||||
|
) {
|
||||||
return emptyResult;
|
return emptyResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user