-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
Internally, javadoc uses "Content" as the root node in a family of types to model HTML trees. This class has a method addContent(String).
It should be changed to be addContent(CharSequence). This will impact all overrides, which will need to be updated as well.
The change will allow us to pass javax.lang.model.element.Name objects down to this API, avoiding a needless temporary conversion to String.
Also include StringContent(String) constructor -- that should use CharSequence as well.
It should be changed to be addContent(CharSequence). This will impact all overrides, which will need to be updated as well.
The change will allow us to pass javax.lang.model.element.Name objects down to this API, avoiding a needless temporary conversion to String.
Also include StringContent(String) constructor -- that should use CharSequence as well.