--- old/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java 2015-09-19 13:15:52.048876633 +0300 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java 2015-09-19 13:15:51.904875919 +0300 @@ -50,7 +50,7 @@ * *
Usage:
* - *The @XmlJavaTypeAdapter annotation can be used with the + *
The {@code @XmlJavaTypeAdapter} annotation can be used with the * following program elements: *
When @XmlJavaTypeAdapter annotation is defined on a + *
When {@code @XmlJavaTypeAdapter} annotation is defined on a * class, it applies to all references to the class. - *
When @XmlJavaTypeAdapter annotation is defined at the + *
When {@code @XmlJavaTypeAdapter} annotation is defined at the * package level it applies to all references from within the package - * to @XmlJavaTypeAdapter.type(). - *
When @XmlJavaTypeAdapter annotation is defined on the + * to {@code @XmlJavaTypeAdapter.type()}. + *
When {@code @XmlJavaTypeAdapter} annotation is defined on the * field, property or parameter, then the annotation applies to the * field, property or the parameter only. - *
A @XmlJavaTypeAdapter annotation on a field, property - * or parameter overrides the @XmlJavaTypeAdapter annotation + *
A {@code @XmlJavaTypeAdapter} annotation on a field, property + * or parameter overrides the {@code @XmlJavaTypeAdapter} annotation * associated with the class being referenced by the field, property * or parameter. - *
A @XmlJavaTypeAdapter annotation on a class overrides - * the @XmlJavaTypeAdapter annotation specified at the + *
A {@code @XmlJavaTypeAdapter} annotation on a class overrides + * the {@code @XmlJavaTypeAdapter} annotation specified at the * package level for that class. * *
This annotation can be used with the following other annotations: