public Object newMixin( EntityInstance entityInstance, StateHolder state, Object[] mixins, Method method )
{
MixinModel model = methodImplementation.get( method );
InjectionContext injectionContext = new InjectionContext( entityInstance, UsesInstance.EMPTY_USES, state );
Object mixin = model.newInstance( injectionContext );
mixins[ methodIndex.get( method ) ] = mixin;
return mixin;
}
public void invokeLifecycle( boolean create, Object[] mixins, CompositeInstance instance, StateHolder state )