private getConstructor ( java par0 ) : global::java.lang.reflect.Constructor | ||
par0 | java | |
return | global::java.lang.reflect.Constructor |
public static Constructor getTestConstructor(Class theClass) { Constructor constructor; try { Class @class = theClass; Class[] classArray = new Class[1]; int index = 0; // ISSUE: variable of the null type __Null local = ClassLiteral<String>.Value; classArray[index] = (Class) local; CallerID callerId = TestSuite.__\u003CGetCallerID\u003E(); constructor = @class.getConstructor(classArray, callerId); } catch (NoSuchMethodException ex) { goto label_3; } return constructor; label_3: return theClass.getConstructor(new Class[0], TestSuite.__\u003CGetCallerID\u003E()); }