class SessionResolverImpl implements SessionResolver {

    @Override
    public Optional<MenuSession> getSession(Player player) {
        return Optional.ofNullable(playerSessions.get(player));
    }

      SessionResolverImpl();

}