MCPcopy Create free account
hub / github.com/akeranen/the-one / createObject

Method createObject

core/Settings.java:764–766  ·  view source on GitHub ↗

Creates (and dynamically loads the class of) an object using the constructor without any parameters. @param className Name of the class of the object @return Initialized object @throws SettingsError if object couldn't be created

(String className)

Source from the content-addressed store, hash-verified

762 * @throws SettingsError if object couldn't be created
763 */
764 public Object createObject(String className) {
765 return loadObject(className, null, null);
766 }
767
768 /**
769 * Dynamically loads and creates an object.

Callers 1

initModelMethod · 0.95

Calls 1

loadObjectMethod · 0.95

Tested by

no test coverage detected