public interface SerialFieldTag extends Tag, Comparable<Object>
The class parses and stores the three serialField tag parameters:
- field name
- field type name
(fully-qualified or visible from the current import context)
- description of the valid values for the field
This tag is only allowed in the javadoc for the special member
serialPersistentFields.ObjectStreamField| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj)
Compares this Object with the specified Object for order.
|
String |
description()
Return the field comment.
|
String |
fieldName()
Return the serializable field name.
|
String |
fieldType()
Return the field type string.
|
ClassDoc |
fieldTypeDoc()
Return the ClassDoc for field type.
|
firstSentenceTags, holder, inlineTags, kind, name, position, text, toStringString fieldName()
String fieldType()
ClassDoc fieldTypeDoc()
String description()
int compareTo(Object obj)
Included to make SerialFieldTag items java.lang.Comparable.
compareTo in interface Comparable<Object>obj - the Object to be compared.ClassCastException - the specified Object's type prevents it
from being compared to this Object. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2015, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.