private static boolean bothProtected(Symbol s1, Symbol s2) { return s1.isProtected() && s2.isProtected(); }