public final class Choices extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
getValue(Object obj)
Gets the value of the choice object without having to inspect each
field.
|
public static Object getValue(Object obj) throws IllegalArgumentException, IllegalAccessException
null
if no non-null fields are found.obj
- the choice object to get the value fromIllegalArgumentException
- if obj == null
IllegalAccessException
Copyright © 2016. All Rights Reserved.