public class CtJavaDocTagImpl extends CtElementImpl implements CtJavaDocTag
CtJavaDocTag.TagType
ERROR_MESSAGE_TO_STRING, factory, LOGGER, parent
JAVADOC_TAG_PREFIX
Constructor and Description |
---|
CtJavaDocTagImpl() |
Modifier and Type | Method and Description |
---|---|
void |
accept(CtVisitor visitor)
Accepts a visitor
|
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
|
java.lang.String |
toString() |
addAnnotation, addComment, asIterable, comment, delete, descendantIterator, emptyList, emptySet, equals, filterChildren, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getFactory, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hashCode, hasParent, isImplicit, isParentInitialized, map, map, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setFactory, setImplicit, setParent, setPosition, setPositions, setValueByRole, toStringDebug, unmodifiableList, updateAllParentsBelow
finalize, getClass, notify, notifyAll, wait, wait, wait
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, toStringDebug, updateAllParentsBelow
getFactory, setFactory
filterChildren, map, map
public CtJavaDocTag.TagType getType()
CtJavaDocTag
getType
in interface CtJavaDocTag
public <E extends CtJavaDocTag> E setType(java.lang.String type)
CtJavaDocTag
setType
in interface CtJavaDocTag
type
- the type namepublic <E extends CtJavaDocTag> E setType(CtJavaDocTag.TagType type)
CtJavaDocTag
setType
in interface CtJavaDocTag
type
- the new typepublic <E extends CtJavaDocTag> E setRealName(java.lang.String realName)
CtJavaDocTag
setRealName
in interface CtJavaDocTag
realName
- the real name of typepublic java.lang.String getRealName()
CtJavaDocTag
getRealName
in interface CtJavaDocTag
public java.lang.String getContent()
CtJavaDocTag
getContent
in interface CtJavaDocTag
public <E extends CtJavaDocTag> E setContent(java.lang.String content)
CtJavaDocTag
setContent
in interface CtJavaDocTag
content
- the new content of the tagpublic java.lang.String getParam()
CtJavaDocTag
getParam
in interface CtJavaDocTag
public <E extends CtJavaDocTag> E setParam(java.lang.String param)
CtJavaDocTag
setParam
in interface CtJavaDocTag
param
- the parameterpublic void accept(CtVisitor visitor)
CtVisitable
accept
in interface CtVisitable
public CtJavaDocTag clone()
CtElement
Refactoring.copyType(CtType)
and Refactoring.copyMethod(CtMethod)
instead which does additional work beyond cloning.clone
in interface CtJavaDocTag
clone
in interface CtElement
clone
in class CtElementImpl
public java.lang.String toString()
toString
in interface CtElement
toString
in class CtElementImpl
Environment.getPrettyPrintingMode()
.Copyright © 2007–2021 Inria. All rights reserved.