Package ghidra.framework.plugintool
Interface AutoConfigState
public interface AutoConfigState
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic interfacestatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic final recordstatic classstatic final recordstatic classstatic classstatic classstatic classstatic class -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> AutoConfigState.ClassHandler<T> wireHandler(Class<T> cls, MethodHandles.Lookup lookup) Wire up a handler for the given class, using the given lookup
-
Method Details
-
wireHandler
Wire up a handler for the given class, using the given lookupThis 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.
- Type Parameters:
T- the type of the class whose fields are annotated byAutoConfigStateField- Parameters:
cls- the class whose fields are annotatedlookup- a lookup from within the class, granting access to the annotated fields- Returns:
- the handler
-