public <T> Local<T> getParameter(int index, TypeId<T> type) {
    if (thisLocal != null) {
      index++; // adjust for the hidden 'this' parameter
    }
    return coerce(parameters.get(index), type);
  }
Returns the local for the parameter at index {@code index} and of type {@code type}.
android/android_framework/dex-maker/src/main/java/com/android/dx/Code.java