Package javarag.impl.reg

Source Code of javarag.impl.reg.ProceduralAttribute

package javarag.impl.reg;

import javarag.impl.TreeStructure;
import javarag.impl.inst.AttributeHandler;
import javarag.impl.inst.ClassMap;
import javarag.impl.inst.MethodInvoker;
import javarag.impl.inst.ProceduralAttributeHandler;

public class ProceduralAttribute extends BasicAttribute {

  public ProceduralAttribute(String name) {
    super(name);
  }

  @Override
  public AttributeHandler createHandler(TreeStructure tree, Instantiator instantiator, boolean circularityCheck) {
    ClassMap<MethodInvoker> methodInvokers = MethodInvokerClassMaps.create(definitions, instantiator);
    return new ProceduralAttributeHandler(getName(), methodInvokers);
  }

}
TOP

Related Classes of javarag.impl.reg.ProceduralAttribute

TOP
Copyright © 2018 www.massapi.com. 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.