public interface SourceDocReference extends SourceDocElement, CompiledDocReference
SourceDocReference represents the Java element reference
in @exception, @link, @linkplain,
@param, @see, @serialField,
@throws, and two-argument @value> tags.
The children of a doc reference are text fragments encompassing the lexical elements of the doc reference.
SourceDocTextFragment| Modifier and Type | Field and Description |
|---|---|
static SourceDocReference[] |
EMPTY_ARRAY |
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Gets the name of the class component of this reference.
|
java.lang.String |
getMemberName()
Gets the name of the member component of this reference.
|
java.util.Collection |
getMethodParameterTypeNames()
Gets the method parameter names of the member component of this reference.
|
java.lang.String |
getNormalizedText()
Gets the normalized text of this reference.
|
SourceDocTag |
getOwningTag()
Gets the doc tag which owns this reference or null if there is no owing doc tag.
|
java.lang.String |
getPackageName()
Gets the name of the package component of this reference.
|
java.lang.String |
getParameterName()
Gets the parameter name of this reference.
|
void |
simplifyType()
Attempts to simplify this type.
|
getDocText, getInlineTags, getOwningDocComment, getOwningMember, getReferences, isBlankaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfgetResolvedClass, getResolvedMember, getResolvedObject, getResolvedPackage, getResolvedParametergetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfostatic final SourceDocReference[] EMPTY_ARRAY
SourceDocTag getOwningTag()
java.lang.String getNormalizedText()
SourceDocElement.getDocText() except that the method parameter list,
if any, is normalized by removing white space and parameter names
(as opposed to parameter type names).SourceDocElement.getDocText()java.lang.String getPackageName()
java.lang.String getClassName()
java.lang.String getMemberName()
java.util.Collection getMethodParameterTypeNames()
java.lang.String getParameterName()
void simplifyType()