diff --git a/plugins/java/ClassParser.java b/plugins/java/ClassParser.java index 5b658be0..f5aefe2d 100644 --- a/plugins/java/ClassParser.java +++ b/plugins/java/ClassParser.java @@ -29,6 +29,11 @@ public class ClassParser extends Plugin @Override public void execute(List list) { + if(!BytecodeViewer.isActiveClassActive()) + { + BytecodeViewer.showMessage("Open A Classfile First"); + return; + } ClassNode c = BytecodeViewer.getCurrentlyOpenedClassNode();