Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
fd3498ad
Commit
fd3498ad
authored
Jan 06, 2019
by
Donlon
Committed by
skylot
Jan 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: show method alias in "method not decompiled" messages (#410)
parent
1ac2cdfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
MethodGen.java
jadx-core/src/main/java/jadx/core/codegen/MethodGen.java
+11
-1
No files found.
jadx-core/src/main/java/jadx/core/codegen/MethodGen.java
View file @
fd3498ad
...
...
@@ -4,6 +4,8 @@ import java.util.Iterator;
import
java.util.List
;
import
com.android.dx.rop.code.AccessFlags
;
import
jadx.core.dex.info.ClassInfo
;
import
jadx.core.utils.Utils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -165,8 +167,16 @@ public class MethodGen {
addFallbackMethodCode
(
code
);
code
.
startLine
(
"*/"
);
ClassInfo
clsAlias
=
mth
.
getParentClass
().
getAlias
();
code
.
startLine
(
"throw new UnsupportedOperationException(\"Method not decompiled: "
)
.
add
(
mth
.
toString
())
.
add
(
clsAlias
.
makeFullClsName
(
clsAlias
.
getShortName
(),
true
))
.
add
(
"."
)
.
add
(
mth
.
getAlias
())
.
add
(
"("
)
.
add
(
Utils
.
listToString
(
mth
.
getMethodInfo
().
getArgumentsTypes
()))
.
add
(
"):"
)
.
add
(
mth
.
getMethodInfo
().
getReturnType
().
toString
())
.
add
(
"\");"
);
}
else
{
RegionGen
regionGen
=
new
RegionGen
(
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment