mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
EA-23707 - NPE: CopyClassesHandler.decodeRefs: skip synthetic elements
This commit is contained in:
@@ -163,6 +163,9 @@ public class CopyClassesHandler implements CopyHandlerDelegate {
|
||||
final Map<PsiClass, PsiElement> oldToNewMap = new HashMap<PsiClass, PsiElement>();
|
||||
for (final PsiClass[] psiClasses : fileToClasses.values()) {
|
||||
for (PsiClass aClass : psiClasses) {
|
||||
if (aClass instanceof SyntheticElement) {
|
||||
continue;
|
||||
}
|
||||
oldToNewMap.put(aClass, null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user