MCPcopy Create free account
hub / github.com/LFYSec/MScan / toString

Method toString

src/main/java/pascal/taie/ir/exp/NewMultiArray.java:72–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 @Override
73 public String toString() {
74 StringBuilder sb = new StringBuilder("newmultiarray ");
75 sb.append(type.baseType());
76 lengths.forEach(length ->
77 sb.append('[').append(length).append(']'));
78 sb.append("[]".repeat(
79 Math.max(0, type.dimensions() - lengths.size())));
80 return sb.toString();
81 }
82}

Callers

nothing calls this directly

Calls 6

appendMethod · 0.95
toStringMethod · 0.95
forEachMethod · 0.65
appendMethod · 0.65
sizeMethod · 0.65
maxMethod · 0.45

Tested by

no test coverage detected