public final int getParameterWordCount(boolean isStatic) {
    return getPrototype(isStatic).getParameterTypes().getWordCount();
  }
Gets the number of words of parameters required by this method's descriptor. Since instances of
this class have no way to know if they will be used in a {@code static} or instance context,
one has to indicate this explicitly as an argument. This method is just a convenient shorthand
for {@code getPrototype().getParameterTypes().getWordCount()}, plus {@code 1} if the method is
to be treated as an instance method.

@param isStatic whether the method should be considered static
@return {@code >= 0;} the argument word count
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/cst/CstBaseMethodRef.java