return (sym.primaryConstructorClass().flags & NO_INTERFACE_MODS) == 0;
return (sym != Symbol.NONE) && ((sym.primaryConstructorClass().flags & NO_INTERFACE_MODS) == 0);
    protected boolean needInterface(Symbol sym) {        return (sym.primaryConstructorClass().flags & NO_INTERFACE_MODS) == 0;    }