Skip to content

Commit

Permalink
fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarv committed Oct 27, 2017
1 parent b8c84c9 commit d5a9ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jdcallgraph/src/main/java/com/dkarv/jdcallgraph/Tracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.dkarv.jdcallgraph.util.log.Logger;
import com.dkarv.jdcallgraph.util.config.ConfigReader;
import javassist.*;
import javassist.bytecode.*;

import java.io.ByteArrayInputStream;
import java.io.File;
Expand Down Expand Up @@ -201,7 +202,7 @@ public static int getLineNumber(CtBehavior method) {
}

public static String getMethodName(CtBehavior method) throws NotFoundException {
return method.getLongName();
return method.getName() + Descriptor.toString(method.getSignature());

/*
StringBuilder methodName = new StringBuilder();
Expand Down

0 comments on commit d5a9ea8

Please sign in to comment.