private static Set<Method> collectSyscalls(Class<?> cls) {
		return AnnotationUtilities.collectAnnotatedMethods(EmuSyscall.class, cls);
	}
A syscall library wherein Java methods are exported via a special annotated

<p>
This library is both a system call and a sleigh userop library. To export a system call, it must
also be exported as a sleigh userop. This is more conventional, as the system call dispatcher
does not require it, however, this library uses a wrapping technique that does require it. In
general, exporting system calls as userops will make developers and users lives easier. To avoid
naming collisions, system calls can be exported with customized names.

@param <T> the type of data processed by the library, typically {@code byte[]}
Ghidra/Features/SystemEmulation/src/main/java/ghidra/pcode/emu/sys/AnnotatedEmuSyscallUseropLibrary.java