Create a gist now

Instantly share code, notes, and snippets.

@olafleur /Loop.Java Secret
Created May 10, 2016

What would you like to do?
Constructor constructor = c.getConstructor();
Object testsClass = constructor.newInstance();
for (Method test : m) {
test.invoke(testsClass);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment