try {
// Use the getParameterNameStatic method so that we don't have to new up
// an object.
Method getParameterName = cls.getMethod("getParameterNameStatic",
new Class [] {String.class, int.class});
Skeleton skelObj = null;
if (getParameterName == null) {
// Fall back to getting new instance
skelObj = (Skeleton) cls.newInstance();
getParameterName = cls.getMethod("getParameterName",
new Class [] {String.class, int.class});