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, setSourceType
addSelf, 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, visitSelf
SourceTypeReference 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.