public override Exprent Copy() { SwitchExprent swExpr = new SwitchExprent(value.Copy(), bytecode); List <List <Exprent> > lstCaseValues = new List <List <Exprent> >(); foreach (List <Exprent> lst in caseValues) { lstCaseValues.Add(new List <Exprent>(lst)); } swExpr.SetCaseValues(lstCaseValues); return(swExpr); }
private InvocationExprent(InvocationExprent expr) : this() { name = expr.GetName(); classname = expr.GetClassname(); isStatic__ = expr.IsStatic(); canIgnoreBoxing = expr.canIgnoreBoxing; functype = expr.GetFunctype(); instance = expr.GetInstance(); if (instance != null) { instance = instance.Copy(); } invocationTyp = expr.GetInvocationTyp(); invokeDynamicClassSuffix = expr.GetInvokeDynamicClassSuffix(); stringDescriptor = expr.GetStringDescriptor(); descriptor = expr.GetDescriptor(); lstParameters = new List <Exprent>(expr.GetLstParameters()); ExprProcessor.CopyEntries(lstParameters); AddBytecodeOffsets(expr.bytecode); bootstrapArguments = expr.GetBootstrapArguments(); }
public override Exprent Copy() { return(new MonitorExprent(monType, value.Copy(), bytecode)); }
public override Exprent Copy() { return(new FieldExprent(name, classname, isStatic__, instance == null ? null : instance .Copy(), descriptor, bytecode)); }
public override Exprent Copy() { return(new AssignmentExprent(left.Copy(), right.Copy(), bytecode)); }
public override Exprent Copy() { return(new ExitExprent(exitType, value == null ? null : value.Copy(), retType, bytecode )); }
public override Exprent Copy() { return(new ArrayExprent(array.Copy(), index.Copy(), hardType, bytecode)); }
public override Exprent Copy() { return(new IfExprent(condition.Copy(), bytecode)); }