public void addConstant(InvalidConstant el) {
            if (overrideConstants_ == null)
                overrideConstants_ = new HashSet<>();

            overrideConstants_.add(el);
        }
return empty list if success else list with not valid implemented methods in class

@param _interface
@return
jphp-runtime/src/php/runtime/reflection/ClassEntity.java