final class PasswordChecker { // Class contents here }
class Password { final boolean isPasswordValid() { /* ... */ } }