1 11 package org.eclipse.ltk.core.refactoring.participants; 12 13 import org.eclipse.core.runtime.Assert; 14 15 24 public class CopyArguments extends RefactoringArguments { 25 26 private Object fDestination; 27 private final ReorgExecutionLog fLog; 28 29 35 public CopyArguments(Object destination, ReorgExecutionLog log) { 36 Assert.isNotNull(destination); 37 Assert.isNotNull(log); 38 fDestination= destination; 39 fLog= log; 40 } 41 42 47 public Object getDestination() { 48 return fDestination; 49 } 50 51 56 public ReorgExecutionLog getExecutionLog() { 57 return fLog; 58 } 59 60 65 public String toString() { 66 return "copy to " + fDestination.toString(); } 68 } 69 | Popular Tags |