[BLUEJ-32] 'uses' dependencies missing for some cases
Uses dependencies are not correctly generated for any generics and some other cases.
Generics: no use of generic instantiation seems to generate a uses arrow. E.g.
{noformat} private List l; public MyClass(List l) l = new ArrayList(); {noformat}
all do not generate a dependency to Student.
Also a field declaration doesn't:
{noformat} private Student s; {noformat}
does not get an arrow either.
All of those should generate a Student dependency.
----
Field declarations are now fine (as of 2.1.2). Type arguments still do not generate a dependency.
----
Fixed class dependency calculation when loading a project for the first time. Before, it would load classes one at a time, and do the dependency calculation of that class right after it was loaded. That meant that some classes were not yet loaded, and references to classes that were not loaded did not show up.
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.0.0