org.drools.ide.common.server.rules
Class ClassWalker
java.lang.Object
org.drools.ide.common.server.rules.ClassWalker
public class ClassWalker
- extends Object
This is a utility to walk a tree of classes (recursively) and return a set
of classes that match a package name.
This is not currently used, as I can't work out a way to make it work including the dynamically added stuff into the MapBackedClassloader
(ie classes added in memory only). It requires some more surgery to cope with this. Was worth a try though !
(can be wired into the loadClass method of the SuggestionCompletionLoader).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassWalker
public ClassWalker()
findClassesInPackage
public static Set<Class> findClassesInPackage(String packageName,
ClassLoader loader)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.