I was surfing in Android code because I wanted to see what is into Activity.finish() method.
I just wanted to have the confirmation that in Activity.finish()
Activity.finish()
This is because source code is not found in SDK. To see the source code, you need to download source for Android SDK, so Android studio can display the respective code.