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

E17493-01

javax.ide.model.java.source.tree
Interface SuperclassT

All Superinterfaces:
Tree

public interface SuperclassT
extends Tree

A superclass clause of a type declaration. On a "class" type, this is the "extends" clause.


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.Tree
EMPTY_ARRAY
 
Method Summary
 TypeReferenceT getType()
          Gets the type reference for this element.
 void setType(TypeReferenceT type)
          Unlinks the current source type and links the input element.
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Method Detail

getType

TypeReferenceT getType()
Gets the type reference for this element.

Returns:
This element's type reference.

setType

void setType(TypeReferenceT type)
Unlinks the current source type and links the input element.

Parameters:
type - The new type reference.
Throws:
java.lang.IllegalStateException - if the input type is already linked.

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

E17493-01

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