Tagged articles
GetterSetter
10 articles · Page 1 of 1
This article explains how Lombok’s generation of getter/setter methods for fields whose second character is uppercase can cause MyBatis to map properties incorrectly, leading to null values, and also examines why the @Accessor(chain=true) annotation breaks EasyExcel’s reflection, offering concrete solutions for each case.
EasyExcelGetterSetterLombok
0 likes · 9 min read

This article explains how Lombok’s unconventional getter/setter method names cause MyBatis to store enum fields as null, why the @Accessor(chain=true) annotation breaks EasyExcel exports, and provides concrete code‑level solutions to resolve both issues in Java backend projects.
EasyExcelGetterSetterJava
0 likes · 9 min read

This article explains how Lombok generates getter and setter method names for fields with a lowercase first letter and uppercase second letter, causing mismatches with MyBatis property parsing and EasyExcel’s cglib reflection, and provides practical solutions.
BackendCGLIBEasyExcel
0 likes · 9 min read

The article analyzes a Lombok @Data‑generated getter/setter naming mismatch that causes MyBatis to store a null enum field, walks through debugging, examines MyBatis’s PropertyNamer source, demonstrates the issue with test code, and then explains a similar @Accessor(chain=true) problem in EasyExcel, offering concrete workarounds for both.
EasyExcelGetterSetterJava
0 likes · 9 min read

This article explains how Lombok’s unconventional getter/setter naming for fields with a lowercase‑first, uppercase‑second pattern causes MyBatis to map enum properties as null, and how the @Accessor(chain=true) annotation in EasyExcel triggers cglib reflection issues, then provides practical workarounds for both problems.
AccessorEasyExcelGetterSetter
0 likes · 9 min read

This article explores how Lombok’s auto‑generated getter/setter methods can conflict with MyBatis property naming conventions and cause null values, examines the underlying reflection logic in MyBatis, and also reveals why the @Accessor(chain=true) annotation disrupts EasyExcel’s CGLIB‑based mapping, offering practical solutions.
CGLIBEasyExcelGetterSetter
0 likes · 7 min read

This article explains how Lombok's generated getter and setter method names can conflict with MyBatis property resolution and cause issues when using EasyExcel's @Accessor(chain=true) annotation, and provides detailed code examples and solutions to resolve these incompatibilities.
CGLIBEasyExcelGetterSetter
0 likes · 9 min read

This article explains why Lombok-generated getter/setter methods for fields whose second character is uppercase can cause MyBatis to store null values, shows the MyBatis PropertyNamer logic that leads to the problem, and also describes how the @Accessor(chain=true) annotation interferes with EasyExcel's reflection‑based export, offering practical workarounds for both issues.
EasyExcelGetterSetterJava
0 likes · 9 min read

This article explains how JavaScript Proxy can intercept object operations to implement getter/setter shortcuts, dynamic validation, logging, and flexible API proxies, providing clear code examples and practical scenarios for both front‑end and Node.js development.
DynamicAPIGetterSetterProxy
0 likes · 7 min read

This article explains the concept of encapsulation in Java, describing its purpose of hiding internal details, outlining four key benefits, and illustrating its use through Husband and Wife class examples, including getter/setter methods, validation, and how encapsulation simplifies future code modifications.
EncapsulationGetterSetterOOP
0 likes · 9 min read
