public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) {
    return new MethodId<>(this, returnType, name, new TypeList(parameters));
  }
@param name a descriptor like "Ljava/lang/Class;".
android/android_framework/dex-maker/src/main/java/com/android/dx/TypeId.java