Issue #48 Decompile only specified class

This commit is contained in:
Jindra Petk
2013-04-20 11:51:59 +02:00
parent 05d1aa0f79
commit 3e0eb0fe48
4 changed files with 53 additions and 3 deletions

View File

@@ -1019,7 +1019,7 @@ public class Graph {
checkContinueAtTheEnd(retw, whileTrueLoop);
List<GraphTargetItem> finalCommands = forFinalCommands.get(whileTrueLoop);
IfItem ifi = null;
if (!finalCommands.isEmpty()) {
if ((finalCommands!=null) && !finalCommands.isEmpty()) {
if (finalCommands.get(finalCommands.size() - 1) instanceof IfItem) {
ifi = (IfItem) finalCommands.get(finalCommands.size() - 1);
finalCommands.remove(finalCommands.size() - 1);