StaticMethodImportResolver.java :  » Scripting » mvel » org » mvel » integration » impl » Java Open Source

Java Open Source » Scripting » mvel 
mvel » org » mvel » integration » impl » StaticMethodImportResolver.java
package org.mvel.integration.impl;

import org.mvel.integration.VariableResolver;
import org.mvel.util.MethodStub;

/**
 * @author Christopher Brock
 */
public class StaticMethodImportResolver implements VariableResolver {
    private String name;
    private MethodStub method;


    public StaticMethodImportResolver(String name, MethodStub method) {
        this.name = name;
        this.method = method;
    }

    public String getName() {
        return name;
    }

    public Class getType() {
        return null;
    }

    public void setStaticType(Class type) {

    }

    public int getFlags() {
        return 0;
    }

    public MethodStub getValue() {
        return method;
    }

    public void setValue(Object value) {
        this.method = (MethodStub) value;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.