Package tod.impl.common.event

Examples of tod.impl.common.event.LocalVariableWriteEvent


        ILogEvent currentEvent;
        do {
            currentEvent = variableWrites.next();
           
            if (currentEvent instanceof LocalVariableWriteEvent) {
                LocalVariableWriteEvent lvw = (LocalVariableWriteEvent)currentEvent;
                String varName = lvw.getVariable().getVariableName();
                System.out.println("LOCAL: " + varName);
                if (eventInScope(lvw, target) && currentEvent.getDepth() == parentEvent.getDepth()+1) {
                    this.updateLocalVariable(lvw);
                }
            }
View Full Code Here


    public static Variable variableFromTOD(TODSession session, ICallerSideEvent event) {
        if (event instanceof IWriteEvent) {
            IWriteEvent write = (IWriteEvent)event;
            Object value = write.getValue();
            if (event instanceof LocalVariableWriteEvent) {
                LocalVariableWriteEvent local = (LocalVariableWriteEvent)event;
                return new LocalVariableImpl(session, local.getVariable(), value, local.getTimestamp());
            } else if (event instanceof FieldWriteEvent) {
                FieldWriteEvent field = (FieldWriteEvent)event;
                return new FieldVariableImpl(session, field.getField(), value, field.getTimestamp());
            }
        }
View Full Code Here

TOP

Related Classes of tod.impl.common.event.LocalVariableWriteEvent

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.