Bug 430686 - [1.8][compiler] Generics: erroneously reports 'method not
applicable for the arguments'
- avoid erasures to be intersection types of identical elements
- consistently perform substitution on recursive capture bindings
Changed content assist filter to pass substring matches.

Change-Id: Iab85c5d9eb356238d9598e46b008d5b840e1e0a5
Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Bug 420953 - [subwords] Constructors that don't match prefix not found

Implemented super and especially subtype-aware addition to Content
Assist completions.

Change-Id: I7a002c7391e6567898e0117154a75130a11c7446
Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Fixed NPE when no type is returned.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Improved completion matching to not match in method arguments. Improved
completion ranging to rank subclasses over base classes and boost prefix
matches.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Changed CompletionEngine to consider methods from a variable's declared
class more relevant than methods from superclasses.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Improved robustness of completion in cases where non-Java identifier
characters are included in input.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Improved speed of completion in some cases by skipping java.lang.Object
and its 11000+ subclasses, and in addition by limiting the number of
additional types being processed to an arbitrary number 100.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Limited subtype search to current project scope to improve performance
when workspace contains a large number of projects.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Added penalty timeout and logging for classes whose type hierarchy is
slow to generate.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Fixed bug 431523: [formatter] Some Off/On tags do not work like
described or work unpredictably

Removed unnecessary special casing based on tag type and added checking
for tags in starting positions that were skipped when advancing by one
whole token, that is 2 characters.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Reminder to  improve Content Assist filtering while typing.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
Improved Content Assist filtering while typing by not skipping over
non-Java identifier characters when searching for a matching character.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>
WIP for better incremental filtering.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>