mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correct isSyntehtic impl
This commit is contained in:
committed by
Egor.Ushakov
parent
aa428ce711
commit
f88f567c2d
@@ -36,8 +36,8 @@ public class DefaultSyntheticProvider implements SyntheticTypeComponentProvider
|
||||
}
|
||||
}
|
||||
VirtualMachine machine = typeComponent.virtualMachine();
|
||||
if (machine != null && machine.canGetSyntheticAttribute() && typeComponent.isSynthetic()) {
|
||||
return true;
|
||||
if (machine != null && machine.canGetSyntheticAttribute()) {
|
||||
return typeComponent.isSynthetic();
|
||||
}
|
||||
else {
|
||||
return name.contains("$");
|
||||
|
||||
Reference in New Issue
Block a user