Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface TypeArgumentT  view TypeArgumentT download TypeArgumentT.java

All Superinterfaces:
Tree

public interface TypeArgumentT
extends Tree

A type argument for a type reference.


Nested Class Summary
static class TypeArgumentT.BoundKind
          In this version, this class is 1.4 compatible.
 
Field Summary
static TypeArgumentT[] EMPTY_ARRAY
           
 
Method Summary
 TypeArgumentT.BoundKind getBoundKind()
          Gets the bound kind.
 TypeReferenceT getType()
          Gets the bound's type reference.
 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, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

public static final TypeArgumentT[] EMPTY_ARRAY
Method Detail

getBoundKind

public TypeArgumentT.BoundKind getBoundKind()
Gets the bound kind.

 EXACT. The exact type is specified.
 EXTENDS. Type specifies an "extends" bound. Only types that
                extend the given bound are allowed.
 SUPER. Type specifies a "super" bound. Only super types of
              the given bound are allowed.
 UNBOUNDED. No explicit bound. Implies "extends" java/lang/Object.
 


getType

public TypeReferenceT getType()
Gets the bound's type reference.

 EXACT. Returns the specified type.
 EXTENDS. Returns the "extends" bound.
 SUPER. Returns the "super" bound.
 UNBOUNDED. Returns null.
 


setType

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