Class innerClass, String signature) {
try {
Pair<String, Pattern> parsed = parseSignature(signature);
String name = parsed.getKey();
Pattern pattern = parsed.getValue();
Constructor ctor = innerClass.getConstructor();
Object instance = ctor.newInstance();
// If an external method, wrap it.