217 B
217 B
List class methods
<class>.metaClass.methods*.name.sort().unique()
Example
println new Person().metaClass.methods*.name.sort().unique()
Source http://groovy-almanac.org/list-the-methods-of-a-groovy-class/