Skip navigation links 
 
oracle.javatools.parser.java.v2.model
Interface SourceMember
- All Superinterfaces:
 
- Element, JavaElement, JavaHasAnnotations, JavaHasName, JavaHasType, JavaMember, SourceElement, SourceHasModifiers
 
- All Known Subinterfaces:
 
- SourceClass, SourceClassInitializer, SourceEnumConstant, SourceFieldDeclaration, SourceFieldVariable, SourceMemberVariable, SourceMethod
 
- 
public interface SourceMember
 
- extends SourceElement, SourceHasModifiers, JavaMember
 
The SourceMember represents a member declaration for a type.
 
 
  
 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasName | 
getName | 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement | 
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo | 
 
 
EMPTY_ARRAY
static final SourceMember[] EMPTY_ARRAY
getEnclosingClass
SourceClass getEnclosingClass()
- Gets the enclosing class.
 
- 
- Returns:
 
- the class enclosing this member.
 
 
hasDeprecatedTag
boolean hasDeprecatedTag()
- True if the Javadoc declares a deprecation tag.
 
- 
- Returns:
 
- True if the declared Javadoc indicates deprecation.
 
 
hasHiddenTag
boolean hasHiddenTag()
- True if the Javadoc declares a hidden tag. Bug 2798659.
 
- 
- Returns:
 
- True if the declared Javadoc comment indicates hidden.
 
 
getDocComment
SourceDocComment getDocComment()
- Gets the javadoc comment symbol.
 
- 
- Returns:
 
- The SourceDocComment associated with this symbol.
 
 
setDocComment
void setDocComment(SourceDocComment comment)
- Attempts to set the javadoc comment symbol.
 
- 
- Parameters:
 
comment - The new comment element. 
 
Skip navigation links 
 
Copyright © 1997, 2012, Oracle. All rights reserved.