@Override public EntityDeclaration withTypes( Class<?>... types ) { for( EntityDeclaration declaration : declarations ) { declaration.withTypes( types ); } return this; } };
public void assemble( ModuleAssembly module ) throws AssemblyException { new EntityTestAssembler().assemble( module ); module.transients( FooComposite.class ).withTypes( Foo.class ); module.transients( FooComposite2.class ).withTypes( Foo.class ).withMixins( CustomFooMixin.class ); module.entities( FooEntity.class ).withTypes( Foo.class ); }