public interface CtJavaDocTag extends CtElement
Modifier and Type | Interface and Description |
---|---|
static class |
CtJavaDocTag.TagType
Define the possible type for a tag
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAVADOC_TAG_PREFIX
The tag prefix
|
Modifier and Type | Method and Description |
---|---|
CtJavaDocTag |
clone()
Clone the element which calls this method in a new object.
|
java.lang.String |
getContent()
Get the content of the atg
|
java.lang.String |
getParam()
Get the parameter of the tag return null when none is specified (only for @param and @throws)
|
java.lang.String |
getRealName()
The type of the tag
|
CtJavaDocTag.TagType |
getType()
The type of the tag
|
<E extends CtJavaDocTag> |
setContent(java.lang.String content)
Define the content of the tag
|
<E extends CtJavaDocTag> |
setParam(java.lang.String param)
Define a parameter
|
<E extends CtJavaDocTag> |
setRealName(java.lang.String realName)
Define the real name of tag type
|
<E extends CtJavaDocTag> |
setType(CtJavaDocTag.TagType type)
Define the type of the tag
|
<E extends CtJavaDocTag> |
setType(java.lang.String type)
Define the type of the tag
|
addAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toString, toStringDebug, updateAllParentsBelow
getFactory, setFactory
accept
filterChildren, map, map
static final java.lang.String JAVADOC_TAG_PREFIX
CtJavaDocTag.TagType getType()
<E extends CtJavaDocTag> E setType(java.lang.String type)
type
- the type name<E extends CtJavaDocTag> E setType(CtJavaDocTag.TagType type)
type
- the new typejava.lang.String getRealName()
<E extends CtJavaDocTag> E setRealName(java.lang.String realName)
realName
- the real name of typejava.lang.String getContent()
<E extends CtJavaDocTag> E setContent(java.lang.String content)
content
- the new content of the tagjava.lang.String getParam()
<E extends CtJavaDocTag> E setParam(java.lang.String param)
param
- the parameterCtJavaDocTag clone()
CtElement
Refactoring.copyType(CtType)
and Refactoring.copyMethod(CtMethod)
instead which does additional work beyond cloning.Copyright © 2007–2021 Inria. All rights reserved.