Red Hat Application Migration Toolkit
package schemaorg_apache_xmlbeans.system.sE57564260D4AD9FB7407C3D0A79E7CBA;
import org.apache.xmlbeans.SchemaTypeSystem;
public class TypeSystemHolder {
public static final SchemaTypeSystem typeSystem = loadTypeSystem();
private static final SchemaTypeSystem loadTypeSystem() {
try {
return (SchemaTypeSystem)Class.forName("org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl", true, TypeSystemHolder.class.getClassLoader()).getConstructor(new Class[]{Class.class}).newInstance(new Object[]{TypeSystemHolder.class});
} catch (ClassNotFoundException var1) {
throw new RuntimeException("Cannot load org.apache.xmlbeans.impl.SchemaTypeSystemImpl: make sure xbean.jar is on the classpath.", var1);
} catch (Exception var2) {
throw new RuntimeException("Could not instantiate SchemaTypeSystemImpl (" + var2.toString() + "): is the version of xbean.jar correct?", var2);
}
}
}