Skip to content

Commit

Permalink
fix(gui): fix search if class contains not generated inner class (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Oct 21, 2019
1 parent 3249a5e commit f228a72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jadx-core/src/main/java/jadx/api/JadxDecompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ private JavaClass getJavaClassByNode(ClassNode cls) {
return javaClass;
}
}
// class or parent classes can be excluded from generation
if (cls.hasNotGeneratedParent()) {
return null;
}
throw new JadxRuntimeException("JavaClass not found by ClassNode: " + cls);
}

Expand Down

0 comments on commit f228a72

Please sign in to comment.