Constant objects.
| Modifier and Type | Method and Description |
|---|---|
| public Constant | Returns: non-null; the corresponding entryn >= 0, n < size(); the constant pool indexGet the |
| public Constant | Returns: null-ok; the corresponding entry, if n != 0n >= 0, n < size(); the constant pool indexGet the |
| public Constant | Returns: null-ok; the corresponding entry, or null if
the index is in-range but invalidn >= 0, n < size(); the constant pool indexGet the |
| public int |
| get | back to summary |
|---|---|
| public Constant get(int n) Get the
| |
| get0Ok | back to summary |
|---|---|
| public Constant get0Ok(int n) Get the
| |
| getOrNull | back to summary |
|---|---|
| public Constant getOrNull(int n) Get the
| |
| size | back to summary |
|---|---|
| public int size() Get the "size" of the constant pool. This corresponds to the
class file field
| |