[root]/groovy/ide/groovy-eclipse/org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/inference/internal
The plugin now listens for changes to Java Project classpaths.
If there has been a change then the projectClassloader in
GroovyProject is 'reset' or set to null and the project is
rebuilt. Listening to JDT core changes to the java projects
could allow us to handle dependencies so that if a dependent
project's classpath changes, the Groovy Builder will rebuild it.
3 lines of code changed in:
Refactored SyntacticContextFactory. Cleaner code, now handles Groovy classes and Groovy scripts properly and uniformly.
Removed idea of semantic context. Renamed *SyntacticContext* to *SourceCodeContext*.
Updated documents to reflect the above.
Updated context tests, and added new test cases for Groovy scripts.
Fixed a bug in JavaElementCategoryLookup.
Fixed type inference bug when inside a Closure that is an initial value of a field (e.g. Grails actions).
67 lines of code changed in:
Extension point for type so IMemberLookup can be contributed.
Small fixes in AbstractMemberLookup.
New code completers for local variables and class names.
Conversion to bin-groovy.
13 lines of code changed in:
Fixed completion on recursive call which lead to recursion in the type evaluator and very annoyed programmer.
Completes as expected, ignoring cycle and getting return type from alternate return statement.
85 lines of code changed in:
Many small fixes: solves problems of exceptions thrown in a few places.
16 lines of code changed in:
Type inference code. Required various small changes.
TypeEvaluator now takes a ITypeEvaluationContext. An inferring context does type inference as needed.
Inferences include: local variables and fields and method return types. This is the start of much more to come.
616 lines of code changed in: