Packageorg.as3commons.bytecode.emit.impl
Classpublic final class MemberInitialization
InheritanceMemberInitialization Inheritance Object

Describes the way a member of a complex type will be instantiated in a generated class.



Public Properties
 PropertyDefined By
  constructorArguments : Array
An optional Array of constructor arguments that will be passed to the Class constructor or factory method.
MemberInitialization
  createNewClass : Boolean
[read-only] Determines if the member class should be instantiated, returns true if the factoryMethodName property is null.
MemberInitialization
  factoryMethodName : String
A factory method that will be used to instantiate the class.
MemberInitialization
Public Methods
 MethodDefined By
  
Creates a new MemberInitialization instance.
MemberInitialization
Property Detail
constructorArgumentsproperty
public var constructorArguments:Array

An optional Array of constructor arguments that will be passed to the Class constructor or factory method.

createNewClassproperty 
createNewClass:Boolean  [read-only]

Determines if the member class should be instantiated, returns true if the factoryMethodName property is null.


Implementation
    public function get createNewClass():Boolean
factoryMethodNameproperty 
public var factoryMethodName:String

A factory method that will be used to instantiate the class. The factory method is assumed to be part of the generated class, unless a fully qualified static method path is assigned. I.e. com.myclasses.factories.MyFactory.createInstance

Constructor Detail
MemberInitialization()Constructor
public function MemberInitialization()

Creates a new MemberInitialization instance.