|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotAllocation
interface represents an allocation
expression. Allocation expressions are used to allocate new objects.
Examples of allocation expressions include:
new Panel() new String[5] new Runnable() { public void run() { ... } }
An allocation expression is a primary expression. An allocation expression evaluates to a new object
JotClassAllocation
,
JotArrayAllocation
,
JotAnonymousClass
Field Summary |
Method Summary | |
JotType |
getObjectType()
Retrieves the type of this allocation expression. |
void |
setObjectType(java.lang.String typeName)
Sets the type of this allocation expression. |
Methods inherited from interface oracle.jdeveloper.jot.JotCodeElement |
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public JotType getObjectType() throws JotInvalidElementException
JotInvalidElementException
public void setObjectType(java.lang.String typeName) throws JotInvalidElementException
JotInvalidElementException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.