in src/main/java/com/twitter/nodes/Node.java [491:500]
private static <T> Node<T> createInstance(Class<? extends Node<T>> nodeClass) {
try {
return nodeClass.newInstance();
} catch (InstantiationException | IllegalAccessException e) {
throw new RuntimeException(
String.format(
"Cannot create instance for Node [%s], make sure it has a default constructor",
nodeClass.getSimpleName()), e);
}
}