1 package org.simantics.scl.compiler.internal.decompilation;
3 public class DecompilerFactory {
4 private static boolean initialized;
5 private static IDecompiler DECOMPILER;
6 public static IDecompiler getDecompiler() {
9 Class<?> clazz = DecompilerFactory.class.getClassLoader().loadClass("org.simantics.scl.compiler.internal.decompiler.impl.DecompilerImpl");
11 DECOMPILER = (IDecompiler)clazz.newInstance();
13 } catch(ClassNotFoundException e) {
15 } catch (InstantiationException e) {
17 } catch (IllegalAccessException e) {
19 } catch(NoClassDefFoundError e) {