com.borland.jbuilder.jot
Interface JotInitializer

All Superinterfaces:
JotExpression, JotMarker, JotSourceElement

public interface JotInitializer
extends JotExpression

This interface represents an array initialization expression. See section 10.6 in the Java Language Specification for more information.


Method Summary
 JotType getType()
          Returns the type of the initialized array.
 JotExpression[] getValues()
          Returns an array of either JotExpression or JotInitializer objects depending on the dimensionality of the array.
 
Methods inherited from interface com.borland.jbuilder.jot.JotExpression
getAssignment, getCondition, getMethodCall, getNew, getOperation, getValue, getVariable, isConstant, isNull
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

getValues

public JotExpression[] getValues()
Returns an array of either JotExpression or JotInitializer objects depending on the dimensionality of the array.

getType

public JotType getType()
Returns the type of the initialized array. For example, if the initializer is new String[] { "harry", "mary", "grace" } then returns a JotType instance representing String[].