Add helper for ceylon/ceylon-compiler#1651