JetBrains/intellij-community — pull request #95 by asedunov (2013-09-09 14:14:16+00:00)
Title: Implement extension support for MethodTextOccurrenceProcessor

This pull request delegates signature comparison performed by MethodTextOccurrenceProcessor to its extensions. Therefore deciding whether particular reference satisfies search criteria can be extended to support comparison with non-Java PSI elements.

The main goal is to allow Kotlin plugin to reuse most of the existing Java method search infrastructure.