private static String getParamName(Annotation[] annotations, Class<?>[] paramTypes, int index) {
String name = null;
for (Annotation annotation : annotations) {
if (annotation instanceof ProbeParam) {
ProbeParam pp = (ProbeParam) annotation;
name = pp.value();
}
}
// If we do not find an annotated parameter -- the we simply make one up.
// Just the index would make a unique name, but to make things a bit easier to