Skip navigation links 
 
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.
 
 
| Fields inherited from interface javax.ide.model.java.source.tree.Tree | 
EMPTY_ARRAY | 
  
 
 
| 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 | 
 
 
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. 
 
Skip navigation links 
 
Copyright © 1997, 2014, Oracle. All rights reserved.