Makes the given visitor visit this label and its source line numbers, if applicable. @param methodVisitor a method visitor. @param visitLineNumbers whether to visit of the label's source line numbers, if any.
(final MethodVisitor methodVisitor, final boolean visitLineNumbers)
| 354 | * @param visitLineNumbers whether to visit of the label's source line numbers, if any. |
| 355 | */ |
| 356 | final void accept(final MethodVisitor methodVisitor, final boolean visitLineNumbers) { |
| 357 | methodVisitor.visitLabel(this); |
| 358 | if (visitLineNumbers && lineNumber != 0) { |
| 359 | methodVisitor.visitLineNumber(lineNumber & 0xFFFF, this); |
| 360 | if (otherLineNumbers != null) { |
| 361 | for (int i = 1; i <= otherLineNumbers[0]; ++i) { |
| 362 | methodVisitor.visitLineNumber(otherLineNumbers[i], this); |
| 363 | } |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | // ----------------------------------------------------------------------------------------------- |
| 369 | // Methods to compute offsets and to manage forward references |
no test coverage detected