 
 		private function extractPostConstructParameters(metadata : Array) : Array
 		{
-			for each (var entry : Object in metadata)
-			{
+			var length : uint = metadata.length;
+			for (var i : int = 0; i < length; i++)
+			{
+				var entry : Object = metadata[i];
 				if (entry.name == 'PostConstruct')
 				{
 					return entry.value;

	import flash.system.ApplicationDomain;
	import flash.utils.getDefinitionByName;
	import flash.utils.getQualifiedClassName;

	import org.swiftsuspenders.injectionpoints.ConstructorInjectionPoint;

	import org.swiftsuspenders.injectionpoints.ConstructorInjectionPoint;
	import org.swiftsuspenders.injectionpoints.InjectionPoint;

		public function addMethodInjectionPointsToList(
				lastInjectionPoint : InjectionPoint) : InjectionPoint
		{
			const methods : Array = _traits.methods;
			if (!methods)
			{
				return lastInjectionPoint;
			}
			const length : uint = methods.length;
			for (var i : int = 0; i < length; i++)
			{
				var method : Object = methods[i];
				var injectParameters : Array =
						method.metadata && extractInjectParameters(method.metadata);
				if (!injectParameters)
				{
					continue;
