@@ -38,7 +38,7 @@ public BuiltinFunctions(IClassHierarchy cha) {
3838
3939 private static IMethod typeSummary (IClass cls , String name , TypeReference type ) {
4040 PythonSummary S = typeSummary (cls , builtinFunction (name ), type );
41- return new PythonSummarizedFunction (( MethodReference ) S .getMethod (), S , cls );
41+ return new PythonSummarizedFunction (S .getMethod (), S , cls );
4242 }
4343
4444 private static PythonSummary typeSummary (
@@ -55,7 +55,7 @@ private static PythonSummary typeSummary(
5555
5656 private static IMethod argSummary (IClass cls , String name , int arg ) {
5757 PythonSummary S = argSummary (cls , builtinFunction (name ), arg );
58- return new PythonSummarizedFunction (( MethodReference ) S .getMethod (), S , cls );
58+ return new PythonSummarizedFunction (S .getMethod (), S , cls );
5959 }
6060
6161 private static PythonSummary argSummary (IClass cls , TypeReference type , int arg ) {
@@ -70,7 +70,7 @@ private static PythonSummary argSummary(IClass cls, TypeReference type, int arg)
7070
7171 private static IMethod noopSummary (IClass cls , String name ) {
7272 PythonSummary S = noopSummary (cls , builtinFunction (name ));
73- return new PythonSummarizedFunction (( MethodReference ) S .getMethod (), S , cls );
73+ return new PythonSummarizedFunction (S .getMethod (), S , cls );
7474 }
7575
7676 private static PythonSummary noopSummary (IClass cls , TypeReference type ) {
0 commit comments