/* * Created on Apr 6, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package fr.lifl.stc.stan.tools.tester; import fr.lifl.stc.stan.link.Link; /** * @author dorina * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class MethodSign { Link[][]deps; String methodName; String methodSignature; /** * */ public MethodSign(String name, String methodSignature, Link[][]d) { this.methodName = name; this.methodSignature = methodSignature; deps = d; /* deps = new byte[dim][dim1]; for(int i = 0; i < deps.length; i++) for(int j = 0; j < deps[i].length; j++) deps[i][j] = d[i][j]; */ } public String getMethodName(){ return this.methodName; } public String getMethodSignature() { return this.methodSignature; } public Link[][] getSignature(){ return deps; } public String toString(){ String s = "methodName: "+this.methodName+this.methodSignature+"\n"; for(int i = 0; i < deps.length; i++) { for(int j = 0; j < deps[i].length; j++) s+=deps[i][j]+" "; s+="\n"; } return s; } public void print(){ System.out.println(this.toString()); } }