comment out weird implementation of getMethodSignature()

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1615 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-08-13 21:45:33 +00:00
parent 66afbbc77d
commit 93dd4a26e5
1 changed files with 13 additions and 13 deletions

View File

@ -96,19 +96,19 @@ public class JdtUtil {
return className; return className;
} }
public static String getMethodSignature(IMethod method) { // public static String getMethodSignature(IMethod method) {
if (method == null) { // if (method == null) {
throw new IllegalArgumentException("method is null"); // throw new IllegalArgumentException("method is null");
} // }
try { // try {
String methodParamReturnInfo = method.getSignature(); // String methodParamReturnInfo = method.getSignature();
String methodName = method.getElementName(); // String methodName = method.getElementName();
String methodSignature = methodName + " " + methodParamReturnInfo; // String methodSignature = methodName + " " + methodParamReturnInfo;
return methodSignature; // return methodSignature;
} catch (JavaModelException e) { // } catch (JavaModelException e) {
} // }
return ""; // return "";
} // }
/** /**
* Return a unique string representing the specified Java element across * Return a unique string representing the specified Java element across