abstract class Argument extends java.lang.Object implements WritableData
An Argument object must implement the WritableData interface, so that its contents can be written into a stream of bytecode data during compilation.
Modifier and Type | Field and Description |
---|---|
protected static int |
BYTE
Width of a byte argument, in bytes.
|
protected static int |
INT
Width of an int argument, in bytes.
|
protected static int |
SHORT
Width of a short argument, in bytes.
|
protected int |
width
Width of argument, in bytes.
|
Modifier | Constructor and Description |
---|---|
protected |
Argument(int width)
Constructor which accepts width of argument.
|
Modifier and Type | Method and Description |
---|---|
int |
getWidth()
Return this argument's width.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
protected static final int BYTE
protected static final int SHORT
protected static final int INT
protected int width