question: static private String constructClass ( String device_name , String target_os , String os_version , String className , File excludeFile , int run_id ) { int i = 0 ; String ret = "package {\n" ; ret += "import flash.display.DisplayObject;\n" ; ret += "import flash.system.Capabilities;\n" ; if ( target_os . compareToIgnoreCase ( MobileUtil . IOS ) == 0 || target_os . compareToIgnoreCase ( MobileUtil . QNX ) == 0 ) { ret += "import flash.filesystem.*;\n" ; } ret += "[Mixin]\n" ; ret += "/**\n" ; ret += "* By including this mixin via CompileMustellaSwfs, we\n" ; ret += "* can set up some variables for UnitTester to use for\n" ; ret += "* an Android run.\n" ; ret += "*/\n" ; ret += "public class " + className + "\n" ; ret += "{\n" ; ret += "	public static function init(root:DisplayObject):void\n" ; ret += "	{\n" ; ret += "		if( UnitTester.cv == null ){\n" ; ret += "			UnitTester.cv = new ConditionalValue();\n" ; ret += "		}\n" ; ret += "		UnitTester.cv.device = \"" + device_name + "\";\n" ; ret += "		UnitTester.cv.os = \"" + target_os + "\";\n" ; ret += "		UnitTester.cv.targetOS = \"" + target_os + "\";\n" ; ret += "		UnitTester.cv.osVersion = \"" + os_version + "\";\n" ; if ( ( target_os . compareToIgnoreCase ( MobileUtil . MAC ) == 0 ) || ( target_os . compareToIgnoreCase ( MobileUtil . WIN ) == 0 ) ) { if ( adl_extras_XscreenDPI == - 1 ) { ret += "		UnitTester.cv.deviceDensity = flash.system.Capabilities.screenDPI;\n" ; } else { ret += "		UnitTester.cv.deviceDensity = Util.roundDeviceDensity( flash.system.Capabilities.screenDPI );\n" ; } } else if ( ( target_os . compareToIgnoreCase ( MobileUtil . ANDROID ) == 0 ) || ( target_os . compareToIgnoreCase ( MobileUtil . IOS ) == 0 ) ) { if ( ( device_name . compareToIgnoreCase ( MobileUtil . MAC ) == 0 ) || ( device_name . compareToIgnoreCase ( MobileUtil . WIN ) == 0 ) ) { if ( adl_extras_XscreenDPI == - 1 ) { ret += "		UnitTester.cv.deviceDensity = flash.system.Capabilities.screenDPI;\n" ; } else { ret += "		UnitTester.cv.deviceDensity = Util.roundDeviceDensity( flash.system.Capabilities.screenDPI );\n" ; } } else { ret += "		UnitTester.cv.deviceDensity = " + Integer . toString ( MobileUtil . getDeviceDensity ( device_name ) ) + ";\n" ; } } else { ret += "		UnitTester.cv.deviceDensity = " + Integer . toString ( MobileUtil . getDeviceDensity ( device_name ) ) + ";\n" ; } ret += "		UnitTester.cv.screenDPI = flash.system.Capabilities.screenDPI;\n" ; ret += "		//UnitTester.cv.deviceWidth = set by MultiResult;\n" ; ret += "		//UnitTester.cv.deviceHeight = set by MultiResult;\n" ; ret += "		//UnitTester.cv.color = this is not defined yet, but there are rumours it might be.\n" ; ret += "		UnitTester.run_id = \"" + run_id + "\";\n" ; ret += "		UnitTester.excludeFile = \"" + excludeFile . getName ( ) + "\";\n" ; for ( i = 0 ; i < Array . getLength ( MobileUtil . DEVICES_USING_SDCARD ) ; ++ i ) { if ( device_name . compareToIgnoreCase ( MobileUtil . DEVICES_USING_SDCARD [ i ] ) == 0 ) { ret += "		UnitTester.mustellaWriteLocation = \"" + MobileUtil . SDCARD_DIR + "\";\n" ; ret += "		UnitTester.writeBaselinesToDisk = true;\n" ; } } if ( target_os . compareToIgnoreCase ( MobileUtil . IOS ) == 0 ) { ret += "		UnitTester.mustellaWriteLocation = File.documentsDirectory.nativePath;\n" ; ret += "		UnitTester.writeBaselinesToDisk = true;\n" ; } if ( target_os . compareToIgnoreCase ( MobileUtil . QNX ) == 0 ) { ret += "		UnitTester.mustellaWriteLocation = File.applicationStorageDirectory.nativePath;\n" ; ret += "		UnitTester.writeBaselinesToDisk = true;\n" ; } ret += "	}\n" ; ret += "}\n" ; ret += "}\n" ; return ret ; }
target:  Returns a string which contains the text which will be written to the class.