code: void checkNonAbstract(DiagnosticPosition pos, Symbol sym) {
          if ((sym.flags() & ABSTRACT) != 0 && (sym.flags() & DEFAULT) == 0)
              log.error(pos, "abstract.cant.be.accessed.directly",
                        kindName(sym), sym, sym.location());
      }
docs: Check that sym is not an abstract method.