private void checkMain(MethodBase method) {
private void checkMain(MethodBase method, int line) {
    private void checkMain(MethodBase method) {	if ( !currentClass.isModuleClass() )	    return;	// do not consider nested objects' main methods	if (method.DeclaringType.DeclaringType != null)	    return;	if (method.IsConstructor() || method.IsAbstract() ||	    !method.Name.equals("main"))	    return;	ParameterInfo[] params = method.GetParameters();	if (params.length != 1 || params[0].ParameterType != tc.STRING_ARRAY)	    return;	mainObjectField = tc.getModuleField(currentClass);	mainMethod = (MethodInfo) method;    }