Content assist for Arrays.sor| yields Arrays.sort(null) { o1, o2 -> } if sort(Object[] a, Comparator c) is triggered with '{' key. Similar replacement is not made for DSLD method contribution.
contribute(currentType()) {
method name: 'foo', params: [bar: Comparator]
}
foo| is inserting nothing and moving the cursor forward in case of '{' trigger.