static A holdResource(IResourceHolder holder, A a) { holder?.add(a); ret a; }