You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am autogenerating a bunch of schemas for my model classes using the maven plugin. I am using lombok to add hashCode and equals methods to my model classes.
I'm only interested in generating properties for methods that begin with get...() that take no arguments. How do I get rid of the other stuff that the schema generator is adding in there beyond breed?
(I tested this out on the same MVE repo that I mentioned in my other issue #393.
The text was updated successfully, but these errors were encountered:
The Option.FIELDS_DERIVED_FROM_ARGUMENTFREE_METHODS will discard the appended parentheses and "get"/"is" prefix if the method is deemed eligible (i.e., matches get...() or is...() or was explicitly set to another name). If the method's designated name in the schema would still have those parentheses, you can ignore that method again this way.
No need to duplicate the checks being performed in the MethodScope class.
Hi, I am autogenerating a bunch of schemas for my model classes using the maven plugin. I am using
lombok
to addhashCode
andequals
methods to my model classes.I have a class like this:
When I run the maven plugin with these options:
...this is the schema that's generated:
I'm only interested in generating properties for methods that begin with
get...()
that take no arguments. How do I get rid of the other stuff that the schema generator is adding in there beyondbreed
?(I tested this out on the same MVE repo that I mentioned in my other issue #393.
The text was updated successfully, but these errors were encountered: