Don't show Inner/Anonymous classes

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@779 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 25 years ago
parent bd7b04902d
commit 08f486dd4a
  1. 4
      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()) {

Loading…
Cancel
Save