There is an attribute in the class file that tells whether a field or method is not present in the original source code. A debugger should have the option to suppress or mark these fields.
JVMDI_IsFieldSynthetic and JVMDI_IsMethodSynthetic would provide this.
JVMDI_IsFieldSynthetic and JVMDI_IsMethodSynthetic would provide this.
- relates to
-
JDK-4415260 JDI: TypeComponent.isSynthetic() lies about synthetic field
- Closed