Hi pdt devs

I have a question for IModelAccessCache and its main implementation 
PerFileModelAccessCache used by DefaultBindingResolver (semantic highlights, 
override indicator etc..).

Line 222 is problematic for me.

If method .getTypes is called for IType which is not from SourceModule  
connected to PerFileModelAccessCache, this line trying to load All ITypes from 
project! 

So, because often one class is using types from other files, in general  all 
types are loaded during each semantic highlight / override detection! 

Someone remember why this class always doing it (this code have 3 years).

--
Dawid Pakuła 
+48 795 996 064

_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to