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:
parent
66afbbc77d
commit
93dd4a26e5
|
@ -96,19 +96,19 @@ public class JdtUtil {
|
|||
return className;
|
||||
}
|
||||
|
||||
public static String getMethodSignature(IMethod method) {
|
||||
if (method == null) {
|
||||
throw new IllegalArgumentException("method is null");
|
||||
}
|
||||
try {
|
||||
String methodParamReturnInfo = method.getSignature();
|
||||
String methodName = method.getElementName();
|
||||
String methodSignature = methodName + " " + methodParamReturnInfo;
|
||||
return methodSignature;
|
||||
} catch (JavaModelException e) {
|
||||
}
|
||||
return "";
|
||||
}
|
||||
// public static String getMethodSignature(IMethod method) {
|
||||
// if (method == null) {
|
||||
// throw new IllegalArgumentException("method is null");
|
||||
// }
|
||||
// try {
|
||||
// String methodParamReturnInfo = method.getSignature();
|
||||
// String methodName = method.getElementName();
|
||||
// String methodSignature = methodName + " " + methodParamReturnInfo;
|
||||
// return methodSignature;
|
||||
// } catch (JavaModelException e) {
|
||||
// }
|
||||
// return "";
|
||||
// }
|
||||
|
||||
/**
|
||||
* Return a unique string representing the specified Java element across
|
||||
|
|
Loading…
Reference in New Issue