MCPcopy Index your code
hub / github.com/clojure/clojure / accept

Method accept

src/jvm/clojure/asm/Label.java:356–366  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 1

readCodeMethod · 0.95

Calls 2

visitLabelMethod · 0.45
visitLineNumberMethod · 0.45

Tested by

no test coverage detected