ObjectInitializations

ObjectInitializations[class]
returns a list of held field initializations executed by New before the constructor is called. The ObjectInitializations list is built automatically.
This loads the package.
In[1]:=
Click for copyable input
The field assignments are used internally to initialize the fields of an object. The next class defines fields bound to an object and others bound to the class by means of the Static modifier.
In[2]:=
Click for copyable input
The list of initializations contains only the object fields. The exact internal format may be subject to change.
In[3]:=
Click for copyable input
Out[3]=
A child class also inherits this initialization list.
In[4]:=
Click for copyable input
Out[4]=
All values do get the right values during initalization of a newly created object.
In[5]:=
Click for copyable input
Out[5]=