From 08f486dd4aeeed7da967d887c03b54caa8b6ec3c Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 5 May 1999 20:59:52 +0000 Subject: [PATCH] Don't show Inner/Anonymous classes git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@779 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/swingui/PackagesTreeModel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jode/jode/swingui/PackagesTreeModel.java b/jode/jode/swingui/PackagesTreeModel.java index bb2b71c..280679f 100644 --- a/jode/jode/swingui/PackagesTreeModel.java +++ b/jode/jode/swingui/PackagesTreeModel.java @@ -18,6 +18,7 @@ */ package jode.swingui; +import jode.Decompiler; import jode.bytecode.ClassInfo; ///#ifndef OLDSWING import javax.swing.tree.TreeModel; @@ -106,6 +107,9 @@ public class PackagesTreeModel implements TreeModel { while (enum.hasMoreElements()) { //insert sorted and remove double elements; String name = (String)enum.nextElement(); + if (Decompiler.skipClass(ClassInfo.forName(prefix+name))) + continue; + TreeElement newElem = new TreeElement(prefix, name); for (int i=0; ; i++) { if (i == v.size()) {