|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceTypeReference
A type reference.
Field Summary | |
---|---|
static SourceTypeReference[] |
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 |
getArrayDimension()
Gets the array dimension. |
SourceTypeReference |
getQualifyingType()
If this type refers to "OuterClass<Argument>.InnerClass", then this will return the type for "OuterClass<Argument>". |
java.util.List<SourceTypeArgument> |
getTypeArguments()
Gets the list of type arguments. |
boolean |
isArray()
True if this is an array type reference. |
boolean |
isGeneric()
Determine if this is a generic type or a raw type. |
boolean |
isPrimitive()
True if this is a primitive type (including "void"). |
void |
setTypeArguments(java.util.List<SourceTypeArgument> typeArguments)
Change the type arguments. |
void |
simplifyType()
Attempts to simplify this type. |
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceHasName |
---|
getName, getNameElement, setName, setNameElement |
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement |
---|
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, hasErrors, 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 |
---|
static final SourceTypeReference[] EMPTY_ARRAY
Method Detail |
---|
void simplifyType()
boolean isPrimitive()
SourceTypeReference getQualifyingType()
java.util.List<SourceTypeArgument> getTypeArguments()
void setTypeArguments(java.util.List<SourceTypeArgument> typeArguments)
typeArguments
- If typeArguments == null, remove any
current type arguments, making this effectively a raw type.
If typeArguments is an empty List, remove any current type
arguments and add empty angle brackets to this type (add
the diamond syntax). Otherwise remove any current typeArguments
and add the incoming typeArgumentsboolean isGeneric()
boolean isArray()
int getArrayDimension()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |