@Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (!(o instanceof InvalidConstant)) return false;

            InvalidConstant that = (InvalidConstant) o;

            return constant.equals(that.constant);
        }
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