The following is some Android java code:
FragmentManager fm = getSupportFragmentManager();
Fragment fragment = new ThisClassExtendsFragment();
It seems that this is an abstract method, and that it isn't implemented anywhere
The implementation is in an internal part of the Android SDK, that you will not be able to see from the JavaDocs.
In this case, it is implemented by
FragmentManagerImpl, a nested class inside the