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, times
clone, 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, times
private java.util.ArrayList<JExpr> members
PlainJArrayExpr()
PlainJArrayExpr(JExpr... members)
public JArrayExpr add(JExpr value)
JArrayExpr
add
in interface JArrayExpr
value
- the value to addpublic int elementCount()
JArrayExpr
elementCount
in interface JArrayExpr
public void write(SourceFileWriter writer) throws java.io.IOException