in reply to lock a method or functinoality to class & subclass
Then, either don't document it, or document it with "for friend classes only".
Do not use force. Force doesn't work. If you don't trust other programmers, you shouldn't be programming.
-- Randal L. Schwartz, Perl hacker