Package webit.script.resolvers

Examples of webit.script.resolvers.SetResolver


    private static final String[] ASM_RESOLVER = new String[]{"webit/script/asm/AsmResolver"};
    private static final ClassMap<AsmResolver> CACHE = new ClassMap<AsmResolver>();

    @Override
    protected SetResolver resolveSetResolver(Class type) {
        SetResolver resolver = getAsmResolver(type);
        if (resolver != null) {
            return resolver;
        }
        return super.resolveSetResolver(type);
    }
View Full Code Here


        return this.resolverManager.get(bean, property);
    }

    public void setBean(final Object bean, final Object property, final Object value) {
        if (bean != null) {
            final SetResolver resolver;
            if ((resolver = this.setters.unsafeGet(bean.getClass())) != null) {
                resolver.set(bean, property, value);
                return;
            }
        }
        this.resolverManager.set(bean, property, value);
    }
View Full Code Here

TOP

Related Classes of webit.script.resolvers.SetResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.