Issue #1370: Add a test
Fix #1370
Fix #1371
Issue #1371: Add a test.
Issue #1377: Decl: a predicate for static primaries
Fix #1377
Issue #1377: Optimize the immediate invocation of static refs: File.listRoots()
Issue #1377: Fix boxing for the optimization
Issue #1377: Add a test
Issue #1377: Fix a test, since we now appear to invoke the static method in static-style, rather than instance style, in this case
ClassTransformer: fix #1376 by not adding model type parameter for the outer type's type params
Test for #1376 and updated test .src
metamodel interop runtime test: fixed code now that getMethod does check the type arguments properly
ClassDefinitionBuilder: force a @TypeParameters annotation to be emitted if the type param model info differs from the type param count #1376

So that inner interfaces with no type parameters contained in a type which has type parameters will have an empty
@TypeParameters annotation, otherwise it would not and the model loader would use the underlying class type
parameters, which contains the outer type parmaeters so the count would be wrong
Further test for #1376
ExpressionTransformer: added EXPR_WANTS_COMPANION to the erasure/boxing flags #1378

So we can generate casts to the impl accessor if required
ClassTransformer #1378: add a cast to the impl accessor if required
ExpressionTransformer: dodge NPE
ExpressionTransformer: extracted the code that adds a variance cast

Handle the new EXPR_WANTS_ACCESSOR flag and just pass the erasure/boxing flag
along rather than boolean parameters
ExpressionTransformer: merge fix for #993 and fix for qualifier this in comprehensions

We now also add a qualifier this and cast it if we require a variance cast