MCPcopy Create free account
hub / github.com/Youlor/unpacker / cstComment

Method cstComment

dexfixer/src/com/android/dx/dex/code/CstInsn.java:218–235  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

216
217 /** {@inheritDoc} */
218 @Override
219 public String cstComment() {
220 if (!hasIndex()) {
221 return "";
222 }
223
224 StringBuilder sb = new StringBuilder(20);
225 sb.append(getConstant().typeName());
226 sb.append('@');
227
228 if (index < 65536) {
229 sb.append(Hex.u2(index));
230 } else {
231 sb.append(Hex.u4(index));
232 }
233
234 return sb.toString();
235 }
236}

Callers 7

insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45
insnCommentStringMethod · 0.45

Calls 7

hasIndexMethod · 0.95
getConstantMethod · 0.95
u2Method · 0.95
u4Method · 0.95
appendMethod · 0.80
typeNameMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected