Mining extension point patterns in scala