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
However, the Xpp3 writer distinctly uses the getter for getId()in the writeX( code, even though that getter doesn't exist.
It seems reasonable to make the the generator for the writer produce a reflection-based get rather than trying to use a getter that is obviously not going to exist, given the the Maven/Codehaus team's comfort with using reflection to acquire the values of locally classed private fields, especially in generated code.
The text was updated successfully, but these errors were encountered:
I have been unable to figure out a way to produce a writer that allows the production of a writer for fields that do not have a getter.
The use case here is that I have an interface
and a model with that has a class that implements
ITtype
(assume there's an<interface>
node in the model, please)and a
<codeSegment>
that says (approximately)However, the Xpp3 writer distinctly uses the getter for
getId()
in thewriteX(
code, even though that getter doesn't exist.It seems reasonable to make the the generator for the writer produce a reflection-based get rather than trying to use a getter that is obviously not going to exist, given the the Maven/Codehaus team's comfort with using reflection to acquire the values of locally classed private fields, especially in generated code.
The text was updated successfully, but these errors were encountered: