I'm trying to inject JAXB annotation at runtime using Javassist. I have written following code:
And Person.java class is:
In AssistAnnotationInjector.java, I am trying to add XmlTransient annotation to 'name' field. But the name field is still coming in marshalling output. Why is it so?
PS: marshal output is :
name tag was not expected to present in output..