Merge "Don\'t call IsNative if the declaring class can be null."
am: 3a631b4c45

* commit '3a631b4c450dd7d1cd6d4861cdae295aa63e716f':
  Don't call IsNative if the declaring class can be null.