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

Method getCanonicalInstance

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

Returns the "canonical" Label instance corresponding to this label's bytecode offset, if known, otherwise the label itself. The canonical instance is the first label (in the order of their visit by MethodVisitor#visitLabel) corresponding to this bytecode offset. It cannot be known fo

()

Source from the content-addressed store, hash-verified

318 * frame is set in {@link MethodWriter#visitLabel}.
319 */
320 final Label getCanonicalInstance() {
321 return frame == null ? this : frame.owner;
322 }
323
324 // -----------------------------------------------------------------------------------------------
325 // Methods to manage line numbers

Callers 3

visitJumpInsnMethod · 0.80
visitSwitchInsnMethod · 0.80
computeAllFramesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected