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. |
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[]
.