Skip to content

jade 与Lombok 的Data注解或者 Thrift的简单bean 的链式编程冲突 #40

Description

@iceqing

当使用链式编程的时候,如Lombok的@accessors(chain = true)注解,pd.getWriteMethod()会返回空导致无法进行映射

参考: https://stackoverflow.com/questions/10806895/why-did-propertydescriptor-behavior-change-from-java-1-6-to-1-7

具体代码位置:
PropertyDescriptor pd = pds[i];
if (pd.getWriteMethod() != null) {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions