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