@@ -0,0 +1,312 @@
+/**%0A * %0A */%0Apackage dr.evomodel.newtreelikelihood;%0A%0Aimport dr.evomodel.newtreelikelihood.GeneralLikelihoodCore;%0A%0A/**%0A * @author Marc Suchard%0A *%0A */%0Apublic class LikelihoodCoreFactory %7B%0A%09%0A%09public static LikelihoodCore getLikelihoodCore(int stateCount) %7B%0A%09%09%09%09%0A%09%09return new GeneralLikelihoodCore(stateCount);%0A%09%7D%0A%0A%7D%0A

Move complicated parsing of dataType and available JNI libraries into a factory class