Member predicate MethodDeclaration::getOverloadIndex

Gets the index of this method declaration among all the method declarations with this name.

In the rare case of a class containing multiple concrete methods with the same name, the overload index is defined as if only one of them was concrete.

int getOverloadIndex()