package org.bdware.sc.compiler.ap;

import com.google.gson.Gson;
import org.bdware.sc.bean.RouteInfo;
import org.bdware.sc.compiler.AnnotationProcessor;
import org.bdware.sc.node.AnnotationNode;
import org.bdware.sc.node.ContractNode;
import org.bdware.sc.node.CostDetail;
import org.bdware.sc.node.FunctionNode;

public class Route extends AnnotationProcessor {
    @Override
    public void processFunction(
            AnnotationNode anno, ContractNode contractNode, FunctionNode functionNode) {
        functionNode.setRouteInfo(RouteInfo.create(anno,contractNode));
    }
}
