Package ghidra.util.classfinder
Class ExtensionPointProperties.Util
- java.lang.Object
-
- ghidra.util.classfinder.ExtensionPointProperties.Util
-
- Enclosing class:
- ExtensionPointProperties
public static class ExtensionPointProperties.Util extends java.lang.Object
Utility methods for working withExtensionPointProperties
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getPriority(java.lang.Class<?> c)
Gets theExtensionPoint
priority.static boolean
isExcluded(java.lang.Class<?> c)
Gets whether or not theExtensionPoint
will be excluded from being discovered
-
-
-
Method Detail
-
isExcluded
public static boolean isExcluded(java.lang.Class<?> c)
Gets whether or not theExtensionPoint
will be excluded from being discovered- Parameters:
c
- the class check- Returns:
- true if the class is an
ExtensionPoint
and should be excluded from being discovered
-
getPriority
public static int getPriority(java.lang.Class<?> c)
Gets theExtensionPoint
priority.- Parameters:
c
- the class to getExtensionPoint
priority of.- Returns:
- the class's
ExtensionPoint
priority (ExtensionPointProperties.DEFAULT_PRIORITY
will be used in a non-ExtensionPoint
is passed in)
-
-