public static IntList makeImmutable(int value0, int value1) {
    IntList result = new IntList(2);

    result.add(value0);
    result.add(value1);
    result.setImmutable();

    return result;
  }
Constructs a new immutable instance with the given elements.

@param value0 the first value in the list
@param value1 the second value in the list
android/android_framework/dex-maker/src/main/java/com/android/dx/util/IntList.java