MCPcopy Create free account
hub / github.com/beanshell/beanshell / visitLineNumber

Method visitLineNumber

src/bsh/org/objectweb/asm/CodeWriter.java:1056–1069  ·  view source on GitHub ↗
(final int line, final Label start)

Source from the content-addressed store, hash-verified

1054 }
1055
1056 public void visitLineNumber (final int line, final Label start) {
1057 if (CHECK) {
1058 if (start.owner != this || !start.resolved) {
1059 throw new IllegalArgumentException();
1060 }
1061 }
1062 if (lineNumber == null) {
1063 cw.newUTF8("LineNumberTable");
1064 lineNumber = new ByteVector();
1065 }
1066 ++lineNumberCount;
1067 lineNumber.put2(start.position);
1068 lineNumber.put2(line);
1069 }
1070
1071 // --------------------------------------------------------------------------
1072 // Utility methods: control flow analysis algorithm

Callers

nothing calls this directly

Calls 2

newUTF8Method · 0.80
put2Method · 0.80

Tested by

no test coverage detected