service / groovy.lang / GroovyHelper / field

field

open static fun field(src: Any!, name: String!): Any!

Get value for any field of object

Parameters

src - Any!:

name - String!:

Exceptions

NoSuchFieldException -

IllegalAccessException -

Return
Any!:

open static fun field(clz: Class<*>!, name: String!): Any!

Get value for any field of object

Parameters

clz - Class<*>!:

name - String!:

Exceptions

NoSuchFieldException -

IllegalAccessException -

Return
Any!: