The wrapper code generator is an annotation processor, provided by the base module.

The maven configuration looks like this:



There are following ways to get the base wrapper types generated. If you want it for your own types, the best way is to use the GenerateWrapper annotation.

public interface MyInterface
	public void doStuff();

	public String getStuff();

Or, if you want it for interfaces in libraries, like PersistenceStoring, you cannot add an annotation. That’s what the microstream.wrapper.types parameter is for. This is just a comma separated list of types. Alternatively you can use the GenerateWrapperFor annotation:

public class WrapperGenerationDummy

It accepts a list of type names. Plain strings have to be used instead of class literals, because it is read inside the compilation cycle which prohibits access to class elements.