Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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

All Superinterfaces:
ExpressionT, Tree

public interface TypeExpressionT
extends ExpressionT

An expression wrapping a type reference. The following operators all have type operands (which are type expressions): instanceof, typecast, class literal, and qualified this literal.

Type expressions have no operands.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.ide.model.java.source.tree.ExpressionT
ExpressionT.ExpressionKind
 
Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.ExpressionT
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.ExpressionT
getExpressionKind, getFirstOperand, getOperandAt, getOperandCount, getOperands, getSecondOperand, getThirdOperand
 
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 Reference
11g Release 1 (11.1.1.4.0)

E13403-05

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