class PlainJArrayExpr extends AbstractJExpr implements JArrayExpr
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<JExpr> |
members |
| Constructor and Description |
|---|
PlainJArrayExpr() |
PlainJArrayExpr(JExpr... members) |
| Modifier and Type | Method and Description |
|---|---|
JArrayExpr |
add(JExpr value)
Add an element to this array.
|
int |
elementCount()
Get the current number of elements added to this array.
|
void |
write(SourceFileWriter writer) |
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, of, or, paren, plus, prec, shl, shr, timesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, or, paren, plus, shl, shr, timesprivate java.util.ArrayList<JExpr> members
PlainJArrayExpr()
PlainJArrayExpr(JExpr... members)
public JArrayExpr add(JExpr value)
JArrayExpradd in interface JArrayExprvalue - the value to addpublic int elementCount()
JArrayExprelementCount in interface JArrayExprpublic void write(SourceFileWriter writer) throws java.io.IOException