mapstruct / mapstruct/mapstruct-idea
Support for MapStruct SPI
未關閉
還沒有人認領這個 Issue。
enhancement
feature
- 主要語言
- Java
- 星號
- 168
- 分支
- 41
- PR 合併指標
- 30 天內沒有已合併 PR
描述
My DTOs are auto generated. each field is generated with an setter(setXXX) and chained accessor(withXXX). I wrote a customized AccessorNamingStrategy SPI to exclude those methods start with with and added the SPI to my project's preprocessor.
My SPI has successfully enlimited warnings of withXXX accessors. but in my IDEA, it still promotes the hits for adding withXXX mappings:

貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,使用排除 withXXX 存取子方法的自訂 AccessorNamingStrategy SPI,在 IntelliJ IDEA 中重現問題。比較 SPI 的行為與 plugin 顯示的對應建議。當被排除的 withXXX 方法不再作為建議的對應出現時,工作就完成了。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100