Returns the label corresponding to the given bytecode offset. The default implementation of this method creates a label for the given offset if it has not been already created. @param bytecodeOffset a bytecode offset in a method. @param labels the already created labels, indexed by their offset. If
(final int bytecodeOffset, final Label[] labels)
| 2439 | * @return a non null Label, which must be equal to labels[bytecodeOffset]. |
| 2440 | */ |
| 2441 | protected Label readLabel(final int bytecodeOffset, final Label[] labels) { |
| 2442 | if (labels[bytecodeOffset] == null) { |
| 2443 | labels[bytecodeOffset] = new Label(); |
| 2444 | } |
| 2445 | return labels[bytecodeOffset]; |
| 2446 | } |
| 2447 | |
| 2448 | /** |
| 2449 | * Creates a label without the {@link Label#FLAG_DEBUG_ONLY} flag set, for the given bytecode |
no outgoing calls
no test coverage detected