diff --git a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java index 20108293d..ec1dbb41f 100644 --- a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java +++ b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonTrampolineTargetSelector.java @@ -41,7 +41,8 @@ import java.util.Map; public class PythonTrampolineTargetSelector implements MethodTargetSelector { - private static final String CALL = "__call__"; + + private static final String CALLABLE_METHOD_NAME = "__call__"; private final MethodTargetSelector base; @@ -164,7 +165,7 @@ private IClass getCallable(CGNode caller, IClassHierarchy cha, PythonInvokeInstr final String packageName = "$" + declaringClassName.toString().substring(1); TypeReference typeReference = TypeReference.findOrCreateClass( - declaringClass.getClassLoader().getReference(), packageName, CALL); + declaringClass.getClassLoader().getReference(), packageName, CALLABLE_METHOD_NAME); IClass lookupClass = cha.lookupClass(typeReference); if (lookupClass != null) return lookupClass;