public interface SourceMember extends SourceElement, SourceHasModifiers, JavaMember
SourceMember represents a member declaration for a type.| Modifier and Type | Field and Description |
|---|---|
static SourceMember[] |
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 |
|---|---|
SourceDocComment |
getDocComment()
Gets the javadoc comment symbol.
|
SourceClass |
getEnclosingClass()
Gets the enclosing class.
|
boolean |
hasDeprecatedTag()
True if the Javadoc declares a deprecation tag.
|
boolean |
hasHiddenTag()
True if the Javadoc declares a hidden tag.
|
void |
setDocComment(SourceDocComment comment)
Attempts to set the javadoc comment symbol.
|
addModifiers, getModifiers, getSourceAnnotations, isValidModifiers, removeModifiers, setModifiersaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getJdkVersion, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfgetOwningClass, getUniqueIdentifier, isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetResolvedType, getUnresolvedTypegetNamegetAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotationsgetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfostatic final SourceMember[] EMPTY_ARRAY
SourceClass getEnclosingClass()
boolean hasDeprecatedTag()
boolean hasHiddenTag()
SourceDocComment getDocComment()
void setDocComment(SourceDocComment comment)
comment - The new comment element.