Package com.sun.codemodel
Class JArray
java.lang.Object
com.sun.codemodel.JExpressionImpl
com.sun.codemodel.JArray
- All Implemented Interfaces:
JExpression
,JGenerable
array creation and initialization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<JExpression> private final JExpression
private final JType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(JExpression e) Add an element to the array initializervoid
-
Field Details
-
type
-
size
-
exprs
-
-
Constructor Details
-
JArray
JArray(JType type, JExpression size)
-
-
Method Details
-
add
Add an element to the array initializer -
generate
-