Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
quick copy paste for jenkins script console
def methods = obj.getClass().methods.collect { it.name }
println methods.each {println it}

//courtesy: my week memory, lazyness and https://stackoverflow.com/questions/22065290/how-to-get-all-method-names-of-a-class-without-inherited-methods-with-groovy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.