Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
1.7.2
Description
I have a POJO class using method chaining such as :
public static class CustomChainingPojoType { private String myField1; private int myField2; public CustomChainingPojoType() { } public CustomChainingPojoType setMyField1(String myField1) { this.myField1 = myField1; return this; } public CustomChainingPojoType setMyField2(int myField2) { this.myField2 = myField2; return this; } public String getMyField1() { return myField1; } public int getMyField2() { return myField2; } }
It can not be analyze as POJO in TypeExtractor because the set method return type is not Void, How about add a condition that return type can be class self.
Attachments
Issue Links
- links to