|
|
@@ -116,7 +116,7 @@ public class Reverses {
|
|
|
}
|
|
|
|
|
|
// 如果不是强制指定解密该projectPath,那么解析其projectPath
|
|
|
- if (!isNeedTryDecrypt(decryptProjectPathPrefixSet, projectPath)) {
|
|
|
+ if (!ifPointToDecrypt(decryptProjectPathPrefixSet, projectPath)) {
|
|
|
try {
|
|
|
projectPath = JarUtil.getRootPath(projectPath);
|
|
|
} catch (ClassWinterException e) {
|
|
|
@@ -136,7 +136,7 @@ public class Reverses {
|
|
|
}
|
|
|
}
|
|
|
if (decryptProjectPathPrefixSet.size() > 0) {
|
|
|
- if (!isNeedTryDecrypt(decryptProjectPathPrefixSet, projectPath)) {
|
|
|
+ if (!ifPointToDecrypt(decryptProjectPathPrefixSet, projectPath)) {
|
|
|
return classfileBuffer;
|
|
|
}
|
|
|
}
|
|
|
@@ -297,9 +297,9 @@ public class Reverses {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 是否需要试着解密projectPath指向的代码
|
|
|
+ * 是否指定了要试着解密projectPath指向的代码
|
|
|
*/
|
|
|
- private static boolean isNeedTryDecrypt(Set<String> decryptProjectPathPrefixSet, String projectPath) {
|
|
|
+ private static boolean ifPointToDecrypt(Set<String> decryptProjectPathPrefixSet, String projectPath) {
|
|
|
boolean needTryDecrypt = false;
|
|
|
for (String decryptProjectPathPrefix : decryptProjectPathPrefixSet) {
|
|
|
if (projectPath != null && projectPath.startsWith(decryptProjectPathPrefix)) {
|