dmitry.petrov
by trivial, you mean only when the enclosing class directly inherits from, say Fragment, but not when it inherits from FooFragment?
Fragment
FooFragment