Package spoon.javadoc.internal
Class JavadocInlineTag
java.lang.Object
spoon.javadoc.internal.JavadocInlineTag
- All Implemented Interfaces:
Serializable
,JavadocDescriptionElement
An inline tag contained in a Javadoc description.
For example String
- See Also:
- Serialized Form
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The type of tag: it could either correspond to a known tag (code, docRoot, etc.) or represent an unknown tag. -
Constructor Summary
ConstructorDescriptionJavadocInlineTag(String tagName, JavadocInlineTag.Type type, String content)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static JavadocDescriptionElement
parses a Javadoc taggetName()
getType()
int
hashCode()
static String
Return the next word of the string, in other words it stops when a space is encountered.void
setContent(String content)
toString()
toText()
pretty-prints the Javadoc fragment
-
Constructor Details
-
JavadocInlineTag
-
-
Method Details
-
nextWord
Return the next word of the string, in other words it stops when a space is encountered. -
fromText
parses a Javadoc tag -
setContent
-
getType
-
getContent
-
getName
-
toText
Description copied from interface:JavadocDescriptionElement
pretty-prints the Javadoc fragment- Specified by:
toText
in interfaceJavadocDescriptionElement
-
equals
-
hashCode
public int hashCode() -
toString
-