public Object invoke()

in archaius2-core/src/main/java/com/netflix/archaius/ConfigProxyFactory.java [596:612]


        public Object invoke(Object proxy, Method method, Object[] args) throws NoSuchMethodError{
            PropertyValueGetter<?> invoker = invokers.get(method);
            if (invoker != null) {
                return invoker.invoke(args);
            }

            switch (method.getName()) {
                case "equals":
                    return proxy == args[0];
                case "hashCode":
                    return System.identityHashCode(proxy);
                case "toString":
                    return proxyToString();
                default:
                    throw new NoSuchMethodError(method.getName() + " not found on interface " + type.getName());
            }
        }