/** * Creates instance of a class defined by given bytes. Class will be created with * {@link #createClass(String, byte[])} method. */ protected Object createInstance(String className, byte[] bytes) throws InstantiationException, IllegalAccessException, ClassNotFoundException { return createClass(className, bytes).newInstance(); }