Today I was looking at some prewritten code for a project I am working on and stumbled across something I had never seen before: arguments to a constructor that consisted of the class' own methods. Here is an example
SampleFw sampleFramework = new SampleFw(getName(), getType());
In this case getName() and getType() are both methods defined only in SampleFw. What exactly happens when this call to the constructor is made?