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

Method makeImmutable

dexfixer/src/com/android/dx/util/IntList.java:46–53  ·  view source on GitHub ↗

Constructs a new immutable instance with the given element. @param value the sole value in the list

(int value)

Source from the content-addressed store, hash-verified

44 * @param value the sole value in the list
45 */
46 public static IntList makeImmutable(int value) {
47 IntList result = new IntList(1);
48
49 result.add(value);
50 result.setImmutable();
51
52 return result;
53 }
54
55 /**
56 * Constructs a new immutable instance with the given elements.

Callers 11

processBlockMethod · 0.95
addSetupBlocksMethod · 0.95
addReturnBlockMethod · 0.95
copyBlockMethod · 0.95
visitBranchMethod · 0.95
getBlockListMethod · 0.95
toTargetListMethod · 0.95

Calls 2

addMethod · 0.95
setImmutableMethod · 0.45

Tested by

no test coverage detected