public boolean isConstructor() {
    return name.equals("<init>");
  }
Returns true if this method is a constructor for its declaring class.
android/android_framework/dex-maker/src/main/java/com/android/dx/MethodId.java