public boolean matches(RegisterSpec otherSpec) {
      return spec.equalsUsingSimpleType(otherSpec);
    }
Returns whether or not this instance matches the given spec.

@param otherSpec {@code non-null;} the spec in question
@return {@code true} iff this instance matches {@code spec}
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/LocalList.java