A DeferredActionsStore stores all functions that need to perform post load actions.
A DeferredActionsStore stores all functions that need to perform post load actions.
One example is the resolution of references to attributes. (The constant pool is the only structure that is passed around and hence it is the only place where to store information/functions related to a specific class file).
This factory method is called if an attribute is encountered that is unknown.
This factory method is called if an attribute is encountered that is unknown.
In general, such unknown attributes are represented by the
Unknown_attribute class.
However, if no representation of the unknown attribute is needed this method
can return null - after reading (skipping) all bytes belonging to this attribute.
If null is returned all information regarding this attribute are thrown away.
This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.
This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.
Registers a new processor for the list of all attributes of a given class file element (class, field, method, code).
Registers a new processor for the list of all attributes of a given class file
element (class, field, method, code). This can be used to post-process attributes.
E.g., to merge multiple line number tables if they exist or to link
attributes that have strong dependencies. E.g., (in Java 8) the
localvar_target structure of the Runtime(In)VisibleTypeAnnotations attribute
has a reference in the local variable table attribute.
Trait that implements a template method to read in the attributes of a class, method_info, field_info or code_attribute structure.