This is more verbose (below) but eliminates the suppression. (Suppress all suppressions!)

    @Override
    public Map<?, ?> getInfo() throws RepositoryException {
        if (memoizedInfo == null) {
            memoizedInfo = new HashMap<>(getRawInfo());
            memoizedInfo.put(NODE_TYPE_KEY, this.nodeType);
        }
        return memoizedInfo;
    }
    
    public Map<?,?> getRawInfo() throws RepositoryException {
        return e.getInfo();
    }