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

E13403-07

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

All Superinterfaces:
Element, JavaElement, JavaHasType, SourceElement

public interface SourceTypeArgument
extends SourceElement, JavaHasType

A type argument for a type reference.


Field Summary
static SourceTypeArgument[] EMPTY_ARRAY
           
 
Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT
 
Method Summary
 int getBound()
          Gets the bound kind.
 SourceTypeReference getSourceType()
          Gets the bound's source type.
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType
getResolvedType, getUnresolvedType
 
Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
 

Field Detail

EMPTY_ARRAY

static final SourceTypeArgument[] EMPTY_ARRAY
Method Detail

getBound

int getBound()
Gets the bound kind.
 BOUND_NARROW. The exact type is specified.
 BOUND_EXTENDS. Type specifies an "extends" bound. Only types that
                extend the given bound are allowed.
 BOUND_SUPER. Type specifies a "super" bound. Only super types of
              the given bound are allowed.
 BOUND_NONE. No explicit bound. Implies "extends" java/lang/Object.


getSourceType

SourceTypeReference getSourceType()
Gets the bound's source type.
 BOUND_NARROW. Returns the specified type.
 BOUND_EXTENDS. Returns the "extends" bound.
 BOUND_SUPER. Returns the "super" bound.
 BOUND_NONE. Returns null.


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

E13403-07

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