Hi,
PHPModelUtils.getTypes() have really strange implementation. I plan to change it while resolving bug 438091.
I see two options for PHPSelectionEngine:
1. Remove cache usage from PHPModelUtils.getTypes() calls. Simple, cache will be used only for type hierarchy and TI while selection. 2. Implement PHPSelectionEngine.getTypes(). This method can internally use IModelAccessCache.getTypes(). Harder, but should work faster with large projects.
On 1 September 2014 at 21:04:27, Michał Niewrzał (michal.n@xxxxxxxx) wrote:
Dawid, thanks for details. I understand problem with
namespace implementation, but does moving implementation from
IType to IPackageDeclaration will solve issue with classes
from the same namespace? I think namespaces will be still filtered
with generic method from PerFileAccessCache,
or I miss something? :)
Michal
_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev
|