diff --git a/sootup.apk.frontend/src/main/java/sootup/apk/frontend/dexpler/DexMethod.java b/sootup.apk.frontend/src/main/java/sootup/apk/frontend/dexpler/DexMethod.java index 83d5edbb1d..2143aac8f7 100644 --- a/sootup.apk.frontend/src/main/java/sootup/apk/frontend/dexpler/DexMethod.java +++ b/sootup.apk.frontend/src/main/java/sootup/apk/frontend/dexpler/DexMethod.java @@ -53,14 +53,10 @@ public JavaSootMethod makeSootMethod( final Method method, List bodyInterceptors, @Nonnull View view) { int modifierFlags = method.getAccessFlags(); if (Modifier.isAbstract(modifierFlags) || Modifier.isNative(modifierFlags)) { - String className = declaringclassType.getClassName(); - if (DexUtil.isByteCodeClassName(className)) { - className = DexUtil.dottedClassName(className); - } MethodSignature methodSignature = new MethodSignature( declaringclassType, - className, + method.getName(), Collections.emptyList(), DexUtil.toSootType(method.getReturnType(), 0)); DexMethodSource dexMethodSource = diff --git a/sootup.apk.frontend/src/main/java/sootup/apk/frontend/main/DexBody.java b/sootup.apk.frontend/src/main/java/sootup/apk/frontend/main/DexBody.java index d9f1a3a920..2bc1f8e5ec 100644 --- a/sootup.apk.frontend/src/main/java/sootup/apk/frontend/main/DexBody.java +++ b/sootup.apk.frontend/src/main/java/sootup/apk/frontend/main/DexBody.java @@ -330,13 +330,12 @@ public JavaSootMethod makeSootMethod( // If the Nop Statements are not removed, graph.initializeWith throws a runtime exception // It is only for the case where there is a JNop Statement after the return statement. Crazy // android code :( - String className = classType.getClassName(); - if (DexUtil.isByteCodeClassName(className)) { - className = DexUtil.dottedClassName(className); - } MethodSignature methodSignature = new MethodSignature( - classType, className, parameterTypes, DexUtil.toSootType(method.getReturnType(), 0)); + classType, + method.getName(), + parameterTypes, + DexUtil.toSootType(method.getReturnType(), 0)); while (stmtList.get(stmtList.size() - 1) instanceof JNopStmt) { stmtList.remove(stmtList.size() - 1); }