Given a class Something with a constructor public Something(List<String> l), I would like to use klass.getConstructor(parameterTypes) where parameterTypes[0] is the class java.util.ArrayList (because I need to "match" a given specific instance) and not the interface java.util.List.
This doesn't work (NoSuchMethodException), because Java Reflection appears to need an EXACT type class match. What is the best way around this?