Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use the @serialField javadoc tag?

Javadoc
0
Posted

How do I use the @serialField javadoc tag?

0

Location: http://www.jguru.com/faq/view.jsp?EID=38867 Created: Apr 21, 2000 Modified: 2000-04-21 16:45:02.083 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) Question originally posed by Tim Rohaly PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=10 If you declare your serialiazable fields using the serialPersistentFields member (see FAQ http://www.jguru.com/jguru/faq/view.jsp?EID=1197) then you should document these fields using the @serialField javadoc tag. The syntax of this tag is: @serialField field-name field-type field-description The serialPeristentFields member is an array of ObjectStreamField objects, declared as follow: private static final ObjectStreamField[] serialPeristentFields; You should have one @serialField tag for each element of the serialPersistentFields array. These tags should appear in the javadoc comment preceding the declaration of serialPersistentFields. In the standard javadoc output, this information is displayed only in the “Serialized

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123