For all its other colossal failings, ClearCase is capable of understanding code structure. It just takes a $200/hr Certified ClearCase Admin to do anything with that functionality. Another IBM tool, the ancestor to Eclipse, Visual Age for Java, had the right idea, which was to store the code in a database, much as Smalltalk stored it in the system image.
Of course, only IBM could name a product “VAJ”