Package ghidra.util.classfinder
Class ClassFinder
- java.lang.Object
-
- ghidra.util.classfinder.ClassFinder
-
public class ClassFinder extends java.lang.Object
Finds classes in the classPath that match one of the filter classes.
-
-
Constructor Summary
Constructors Constructor Description ClassFinder(java.util.List<java.lang.String> searchPaths, TaskMonitor monitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Class<?>>
getClasses(java.lang.Class<?> filterClass, TaskMonitor monitor)
static boolean
isClassOfInterest(java.lang.Class<?> c)
Checks to see if the given class is an extension point of interest.
-
-
-
Constructor Detail
-
ClassFinder
public ClassFinder(java.util.List<java.lang.String> searchPaths, TaskMonitor monitor) throws CancelledException
- Throws:
CancelledException
-
-
Method Detail
-
getClasses
public java.util.List<java.lang.Class<?>> getClasses(java.lang.Class<?> filterClass, TaskMonitor monitor) throws CancelledException
- Throws:
CancelledException
-
isClassOfInterest
public static boolean isClassOfInterest(java.lang.Class<?> c)
Checks to see if the given class is an extension point of interest.- Parameters:
c
- The class to check.- Returns:
- True if the given class is an extension point of interest; otherwise, false.
-
-