Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.parser.java.v2.model
Interface SourceSuperclassClause

All Superinterfaces:
Element, SourceElement, SourceHasType

public interface SourceSuperclassClause
extends SourceElement, SourceHasType

An extends and/or an implements clause.


Field Summary

 

Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT

 

Method Summary
 SourceTypeReference getSourceSuperclass()
          Gets the superclass type.
 void setSourceSuperclass(SourceTypeReference superclass)
          Attempts to set the declared superclass of this class.

 

Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceHasType
getSourceType, setSourceType

 

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

 

Method Detail

getSourceSuperclass

SourceTypeReference getSourceSuperclass()
Gets the superclass type. Note, the "extends" clause on an interface gets retrieved as superinterfaces, not as a superclass.
Returns:
The source-model declared base class. Will be non-null if a super class is declared, even if it is java.lang.Object or if the super class cannot be found.

setSourceSuperclass

void setSourceSuperclass(SourceTypeReference superclass)
Attempts to set the declared superclass of this class.
Throws:
java.lang.UnsupportedOperationException - if this class may not have a superclass.
java.lang.IllegalStateException - if the input element is already linked.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.