// Path: lib-core/src/main/java/xdroid/core/ObjectUtils.java
// public static <T> T[] notEmpty(T[] array) {
//     if (isEmpty(array)) {
//         throw new IllegalArgumentException(Arrays.toString(array));
//     }
// 
//     return array;
// }


import static xdroid.core.ObjectUtils.notEmpty;
package xdroid.options;


/**
 * @author Oleksii Kropachov (o.kropachov@shamanland.com)
 */
public class SimpleOption implements Option {
    private final String mName;
    public final OptionAccessor.Getter get;
    public final OptionAccessor.Setter set;

    @Override
    public String getName() {
        return mName;
    }

    public SimpleOption(String name, OptionAccessor accessor) {
// Path: lib-core/src/main/java/xdroid/core/ObjectUtils.java
// public static <T> T[] notEmpty(T[] array) {
//     if (isEmpty(array)) {
//         throw new IllegalArgumentException(Arrays.toString(array));
//     }
// 
//     return array;
// }


// Path: lib-options/src/main/java/xdroid/options/SimpleOption.java
import static xdroid.core.ObjectUtils.notEmpty;

package xdroid.options;


/**
 * @author Oleksii Kropachov (o.kropachov@shamanland.com)
 */
public class SimpleOption implements Option {
    private final String mName;
    public final OptionAccessor.Getter get;
    public final OptionAccessor.Setter set;

    @Override
    public String getName() {
        return mName;
    }

    public SimpleOption(String name, OptionAccessor accessor) {
        mName = notEmpty(name);