// Path: lib-core/src/main/java/xdroid/core/ObjectUtils.java
// public static <T> T notNull(T object) {
//     if (object == null) {
//         throw new NullPointerException();
//     }
// 
//     return object;
// }


import java.util.HashMap;
import java.util.Map;
import static xdroid.core.ObjectUtils.notNull;
package xdroid.customservice;



public class CustomServices implements CustomServiceResolver {
    private final CustomServiceResolver mParentResolver;
    private final Map<String, Object> mCustomServices;

    public CustomServices(CustomServiceResolver parentResolver) {
        mParentResolver = parentResolver;
        mCustomServices = new HashMap<>();
    }

    @Override
    public void putCustomService(String name, Object instance) {
// Path: lib-core/src/main/java/xdroid/core/ObjectUtils.java
// public static <T> T notNull(T object) {
//     if (object == null) {
//         throw new NullPointerException();
//     }
// 
//     return object;
// }


// Path: lib-customservice/src/main/java/xdroid/customservice/CustomServices.java
import java.util.HashMap;
import java.util.Map;
import static xdroid.core.ObjectUtils.notNull;

package xdroid.customservice;



public class CustomServices implements CustomServiceResolver {
    private final CustomServiceResolver mParentResolver;
    private final Map<String, Object> mCustomServices;

    public CustomServices(CustomServiceResolver parentResolver) {
        mParentResolver = parentResolver;
        mCustomServices = new HashMap<>();
    }

    @Override
    public void putCustomService(String name, Object instance) {
        mCustomServices.put(notNull(name), instance);