JavaType.JavaAttributes

getJavaAttribute

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the javaAttribute property.