When I read spring source code, class "AbstractApplicationContext" has a field:
private String id = ObjectUtils.identityToString(this);
I have a doubt, method identityToString(this) is executed before class AbstractApplicationContext is instantiated. Why "this" keyword can be used at this time?
As I understand, this represents the AbstractApplicationContext instance, before AbstractApplicationContext is instantiated, this cannot be used.
Can someone answer my doubts?
 
     
    