Package org.tod.meta.steps

Examples of org.tod.meta.steps.AssignmentStep


       
        return s;
    }

    private static ProgramStep assignmentFromTOD(TODSession session, ICallerSideEvent event, boolean forward, boolean live) {
        AssignmentStep s = new AssignmentStep();
        IBehaviorInfo behavior = event.getOperationBehavior();
        s.setType(StepType.ASSIGNMENT);
        s.setLive(live);
        s.setMethodInfo(session.getClassInformationProvider().getMethodInfo(behavior));
        int line = TypeUtils.calculateLineNumber(event.getOperationBehavior(), event.getOperationBytecodeIndex());
        s.setLineNumber(line); // TODO
        s.setForward(forward);
        Variable variableFromTOD = MirrorFactory.variableFromTOD(session, event);
        if (!session.getFilter().acceptVariableName(variableFromTOD.getName())) {
            return null;
        }
        s.setVariable(variableFromTOD);
        return s;
    }   
View Full Code Here

TOP

Related Classes of org.tod.meta.steps.AssignmentStep

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.