protected void invalidateCache() {
        getCachedData().invalidate();
        getPlugin().getEventDispatcher().dispatchDataRecalculate(this);
    }
Returns the type of this PermissionHolder.

@return this holders type
common/src/main/java/me/lucko/luckperms/common/model/PermissionHolder.java