public static Set<Method> collectAnnotatedMethods(Class<? extends Annotation> annotCls,
			Class<?> cls) {
		Set<Method> defs = new HashSet<>();
		collectAnnotatedMethods(annotCls, cls, defs, new HashSet<>());
		return defs;
	}
Collect from among the given class, its superclasses, and its interfaces all methods
annotated with the given annotation type.

@param annotCls the annotation type
@param cls the class whose methods to examine
@return the set of all methods having the given annotation type
Ghidra/Framework/Emulation/src/main/java/utilities/util/AnnotationUtilities.java