public interface SourceSuperclassClause extends SourceElement, SourceHasType
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
SourceTypeReference |
getSourceSuperclass()
Gets the superclass type.
|
void |
setSourceSuperclass(SourceTypeReference superclass)
Attempts to set the declared superclass of this class.
|
getSourceType, setSourceTypeaddSelf, 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, visitSelfSourceTypeReference getSourceSuperclass()
void setSourceSuperclass(SourceTypeReference superclass)
java.lang.UnsupportedOperationException - if this class may not have a
superclass.java.lang.IllegalStateException - if the input element is already linked.