We are increasingly analysing class files to find the dependencies between them. One dependency that is currently hard (i.e. impossible) to track with just the info in class files is when javac has inlined references to constants defined in other classes.
A partial solution would be to include a reference to the defining class in the class file. This does not change the existing compilation strategy in any way, nor does it affect runtime performance in any way, other than adding an otherwise unused reference to the constant pool.
Note that such an unused reference is likely to be optimized away by pack200 anyway, but up until that point, the extra reference will help class file analyzers detect the dependence.
One important use case for this feature is the Ant <depend> task, used to minimize compilation time by helping to eliminate unnecessary compilations. See, for example,
http://ant.apache.org/manual/Tasks/depend.html