LineNumber, MethodGen
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final LineNumberGen[] | |
| private InstructionHandle | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | LineNumberGen(final InstructionHandle
instruction handle to reference ih, final int srcLine)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(final InstructionHandle
old target oldIh, final InstructionHandle new target newIh)Implements org. |
| EMPTY_ARRAY | back to summary |
|---|---|
| pack-priv static final LineNumberGen[] EMPTY_ARRAY | |
| ih | back to summary |
|---|---|
| private InstructionHandle ih | |
| srcLine | back to summary |
|---|---|
| private int srcLine | |
| LineNumberGen | back to summary |
|---|---|
| public LineNumberGen(final InstructionHandle ih, final int srcLine) 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(final InstructionHandle ih) Implements org. Doc from org. Checks whether this targeter targets the specified instruction handle.
| |
| getInstruction | back to summary |
|---|---|
| public InstructionHandle getInstruction() | |
| getLineNumber | back to summary |
|---|---|
| public LineNumber getLineNumber() Gets LineNumber attribute. This relies on that the instruction list has already been dumped to byte code 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(final InstructionHandle instructionHandle) | |
| setSourceLine | back to summary |
|---|---|
| public void setSourceLine(final int srcLine) | |
| updateTarget | back to summary |
|---|---|
| public void updateTarget(final InstructionHandle oldIh, final InstructionHandle newIh) Implements org. Doc from org. Replaces the target of this targeter from this old handle to the new handle.
| |