Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Method | Description |
---|---|---|
JArray |
JArray.add(JExpression e) |
Add an element to the array initializer
|
static JArray |
JExpr.newArray(JType type) |
|
static JArray |
JExpr.newArray(JType type,
int size) |
Generates
new T[size] . |
static JArray |
JExpr.newArray(JType type,
JExpression size) |
Generates
new T[size] . |
Copyright © 2018 Oracle Corporation. All rights reserved.