LineNumber, MethodGen
| Modifier and Type | Field and Description |
|---|---|
| private InstructionHandle | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | LineNumberGen(InstructionHandle
instruction handle to reference ih, int src_line)Create a line number. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | Returns: true, if ih is target of this line numberImplements org. |
| public InstructionHandle | |
| public LineNumber | |
| public int | |
| public void | |
| public void | |
| public void | updateTarget(InstructionHandle
old target old_ih, InstructionHandle new target new_ih)Implements org. |
| ih | back to summary |
|---|---|
| private InstructionHandle ih | |
| src_line | back to summary |
|---|---|
| private int src_line | |
| LineNumberGen | back to summary |
|---|---|
| public LineNumberGen(InstructionHandle ih, int src_line) Create a line number.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| containsTarget | back to summary |
|---|---|
| public boolean containsTarget(InstructionHandle ih) Implements org.
| |
| getInstruction | back to summary |
|---|---|
| public InstructionHandle getInstruction() | |
| getLineNumber | back to summary |
|---|---|
| public LineNumber getLineNumber() Get LineNumber attribute . This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list. | |
| getSourceLine | back to summary |
|---|---|
| public int getSourceLine() | |
| setInstruction | back to summary |
|---|---|
| public void setInstruction(InstructionHandle ih) | |
| setSourceLine | back to summary |
|---|---|
| public void setSourceLine(int src_line) | |
| updateTarget | back to summary |
|---|---|
| public void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih) Implements org.
| |