public TristateResult result(Tristate result) {
            switch (result) {
                case TRUE:
                case FALSE:
                    return new TristateResult(result, null, this.processorClass);
                case UNDEFINED:
                    return UNDEFINED;
                default:
                    throw new AssertionError();
            }
        }
The permission processor that provided the result
common/src/main/java/me/lucko/luckperms/common/cacheddata/result/TristateResult.java