GROOVY-6362: Support for dynamic method calls in @CompileStatic
   * make sure Foo.metaClass.bar = {...} can be handled through an extension
   * add buildListType(componentType) and buildMapType(keyType,valueType) for lists/maps (helper method)
   * add isStaticMethodCallOnClass helper method for easier detection of static method calls on a specific receiver type