Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
275 B
2
Indexable
Never
ClassLoader cl = getShadowClassLoader();
    Class<?> mc = cl.loadClass("lombok.core.Main");
    try {
      mc.getMethod("main", new Class[] { String[].class }).invoke(null, new Object[] { args });
    } catch (InvocationTargetException e) {
      throw e.getCause();
    }