static <T> ClassHandler<T> wireHandler(Class<T> cls, Lookup lookup) {
		try {
			return new ClassHandler<>(cls, lookup);
		}
		catch (IllegalAccessException e) {
			throw new AssertionError(e);
		}
	}
Wire up a handler for the given class, using the given lookup

<p>
This does not consider super classes, since the writeConfigState of a class using this and
the applicable annotations should likely call super.writeConfigState to allow the super class
to handle its fields, whether or not it also uses the annotations.

@param <T> the type of the class whose fields are annotated by {@link AutoConfigStateField}
@param cls the class whose fields are annotated
@param lookup a lookup from within the class, granting access to the annotated fields
@return the handler
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/framework/plugintool/AutoConfigState.java