A few more small API changes

This commit is contained in:
Luck 2019-11-23 12:59:40 +00:00
parent 95d2832884
commit 86aadf2cf8
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
92 changed files with 108 additions and 105 deletions

View File

@ -25,7 +25,7 @@
package net.luckperms.api.cacheddata;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.extension;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.extension.Extension;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -27,7 +27,7 @@ package net.luckperms.api.event.group;
import net.luckperms.api.cacheddata.CachedDataManager;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.group.Group;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.group;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.cause.CreationCause;
import net.luckperms.api.model.group.Group;

View File

@ -27,7 +27,7 @@ package net.luckperms.api.event.group;
import net.luckperms.api.cacheddata.CachedDataManager;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.group.Group;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.group;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.cause.DeletionCause;
import net.luckperms.api.node.Node;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.group;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.group.Group;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,9 +26,9 @@
package net.luckperms.api.event.log;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,9 +26,9 @@
package net.luckperms.api.event.log;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,9 +26,9 @@
package net.luckperms.api.event.log;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.platform.PlatformEntity;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,9 +26,9 @@
package net.luckperms.api.event.log;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -27,7 +27,7 @@ package net.luckperms.api.event.log;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -25,7 +25,7 @@
package net.luckperms.api.event.node;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.node.Node;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.node;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.PermissionHolder;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.model.group.Group;

View File

@ -25,7 +25,7 @@
package net.luckperms.api.event.node;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.node.Node;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.player;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.PlayerSaveResult;
import net.luckperms.api.model.user.UserManager;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.player;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.user.User;
import net.luckperms.api.util.Result;

View File

@ -25,9 +25,9 @@
package net.luckperms.api.event.sync;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -25,7 +25,7 @@
package net.luckperms.api.event.sync;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
/**

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.track;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.cause.CreationCause;
import net.luckperms.api.track.Track;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.track;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.cause.DeletionCause;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.track;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.track.Track;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -25,7 +25,7 @@
package net.luckperms.api.event.track.mutate;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.track.mutate;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.track.Track;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -25,7 +25,7 @@
package net.luckperms.api.event.track.mutate;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -1,5 +1,5 @@
/*
* This file is part of LuckPerms, licensed under the MIT License.
* This file is part of luckperms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
@ -23,7 +23,9 @@
* SOFTWARE.
*/
package net.luckperms.api.event;
package net.luckperms.api.event.type;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;
@ -40,7 +42,7 @@ public interface Cancellable {
* @return the cancellation
*/
@Param(-1)
@NonNull AtomicBoolean getCancellationState();
@NonNull AtomicBoolean cancellationState();
/**
* Returns true if the event is currently cancelled.
@ -48,7 +50,7 @@ public interface Cancellable {
* @return if the event is cancelled
*/
default boolean isCancelled() {
return getCancellationState().get();
return cancellationState().get();
}
/**
@ -67,7 +69,7 @@ public interface Cancellable {
* @return the previous state
*/
default boolean setCancelled(boolean cancelled) {
return getCancellationState().getAndSet(cancelled);
return cancellationState().getAndSet(cancelled);
}
}

View File

@ -1,5 +1,5 @@
/*
* This file is part of LuckPerms, licensed under the MIT License.
* This file is part of luckperms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
@ -23,8 +23,9 @@
* SOFTWARE.
*/
package net.luckperms.api.event;
package net.luckperms.api.event.type;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.source.Source;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -27,7 +27,7 @@ package net.luckperms.api.event.user;
import net.luckperms.api.cacheddata.CachedDataManager;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.user.User;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -27,7 +27,7 @@ package net.luckperms.api.event.user;
import net.luckperms.api.cacheddata.CachedDataManager;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.user.User;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.user;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,7 +26,7 @@
package net.luckperms.api.event.user;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.model.user.User;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -26,8 +26,8 @@
package net.luckperms.api.event.user.track;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.Sourced;
import net.luckperms.api.event.util.Param;
import net.luckperms.api.event.type.Sourced;
import net.luckperms.api.model.user.User;
import net.luckperms.api.track.Track;

View File

@ -1,5 +1,5 @@
/*
* This file is part of LuckPerms, licensed under the MIT License.
* This file is part of luckperms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
@ -23,7 +23,7 @@
* SOFTWARE.
*/
package net.luckperms.api.event;
package net.luckperms.api.event.util;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;

View File

@ -34,7 +34,7 @@ import net.luckperms.api.model.user.User;
import net.luckperms.api.model.user.UserManager;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.NodeEqualityPredicate;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -1,5 +1,5 @@
/*
* This file is part of LuckPerms, licensed under the MIT License.
* This file is part of luckperms, licensed under the MIT License.
*
* Copyright (c) lucko (Luck) <luck@lucko.me>
* Copyright (c) contributors
@ -23,7 +23,7 @@
* SOFTWARE.
*/
package net.luckperms.api.node;
package net.luckperms.api.util;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -33,7 +33,7 @@ import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.kyori.text.adapter.bukkit.TextAdapter;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;

View File

@ -30,7 +30,7 @@ import me.lucko.luckperms.common.calculator.processor.AbstractPermissionProcesso
import me.lucko.luckperms.common.calculator.processor.PermissionProcessor;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Collections;
import java.util.Map;

View File

@ -29,7 +29,7 @@ import me.lucko.luckperms.bukkit.LPBukkitPlugin;
import me.lucko.luckperms.common.calculator.processor.PermissionProcessor;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.bukkit.permissions.Permission;

View File

@ -36,7 +36,7 @@ import me.lucko.luckperms.common.model.User;
import me.lucko.luckperms.common.util.ImmutableCollectors;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.bukkit.entity.Player;
import org.bukkit.permissions.PermissibleBase;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
import me.lucko.luckperms.common.verbose.VerboseHandler;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.bukkit.permissions.PermissibleBase;

View File

@ -34,7 +34,7 @@ import com.google.common.collect.Maps;
import me.lucko.luckperms.bukkit.LPBukkitPlugin;
import me.lucko.luckperms.common.cache.Cache;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.bukkit.permissions.Permission;
import org.bukkit.plugin.PluginManager;

View File

@ -49,7 +49,7 @@ import net.luckperms.api.context.ContextSet;
import net.luckperms.api.context.DefaultContextKeys;
import net.luckperms.api.context.MutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.Flag;
import net.luckperms.api.query.QueryOptions;
import net.luckperms.api.util.Result;

View File

@ -33,7 +33,7 @@ import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.kyori.text.adapter.bungeecord.TextAdapter;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.connection.ProxiedPlayer;

View File

@ -25,7 +25,7 @@
package me.lucko.luckperms.bungee.event;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.connection.ProxiedPlayer;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.config.ConfigKeys;
import me.lucko.luckperms.common.model.User;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import net.md_5.bungee.api.event.PermissionCheckEvent;

View File

@ -36,7 +36,7 @@ import net.luckperms.api.model.data.NodeMap;
import net.luckperms.api.model.data.TemporaryNodeMergeStrategy;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.NodeEqualityPredicate;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -32,7 +32,7 @@ import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.cacheddata.CachedPermissionData;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -34,7 +34,7 @@ import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -27,7 +27,7 @@ package me.lucko.luckperms.common.calculator.processor;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
public class MapProcessor extends AbstractPermissionProcessor implements PermissionProcessor {
private static final TristateResult.Factory RESULT_FACTORY = new TristateResult.Factory(MapProcessor.class);

View File

@ -31,7 +31,7 @@ import com.google.common.collect.Maps;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.node.types.RegexPermission;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Collections;
import java.util.List;

View File

@ -30,7 +30,7 @@ import com.google.common.collect.ImmutableMap;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.node.AbstractNode;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Collections;
import java.util.Map;

View File

@ -28,7 +28,7 @@ package me.lucko.luckperms.common.calculator.result;
import me.lucko.luckperms.common.calculator.PermissionCalculator;
import me.lucko.luckperms.common.calculator.processor.PermissionProcessor;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
/**
* Represents the result of a {@link PermissionCalculator} lookup.

View File

@ -41,7 +41,7 @@ import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.context.Context;
import net.luckperms.api.context.ContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import java.util.function.BiFunction;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.locale.message.Message;
import net.luckperms.api.context.Context;
import net.luckperms.api.context.ContextSet;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Collection;
import java.util.List;

View File

@ -46,7 +46,7 @@ import me.lucko.luckperms.common.util.Predicates;
import net.luckperms.api.context.MutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.NodeEqualityPredicate;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.List;

View File

@ -44,7 +44,7 @@ import me.lucko.luckperms.common.util.Predicates;
import net.luckperms.api.context.MutableContextSet;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.node.metadata.types.InheritanceOriginMetadata;
import net.luckperms.api.query.QueryOptions;

View File

@ -42,7 +42,7 @@ import me.lucko.luckperms.common.util.Predicates;
import me.lucko.luckperms.common.util.Uuids;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.List;
import java.util.UUID;

View File

@ -44,7 +44,7 @@ import me.lucko.luckperms.common.model.User;
import me.lucko.luckperms.common.sender.Sender;
import net.luckperms.api.actionlog.Action;
import net.luckperms.api.event.Cancellable;
import net.luckperms.api.event.type.Cancellable;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.cause.CreationCause;
import net.luckperms.api.event.cause.DeletionCause;

View File

@ -33,7 +33,7 @@ import me.lucko.luckperms.common.util.PrivateMethodHandles;
import net.luckperms.api.LuckPerms;
import net.luckperms.api.event.LuckPermsEvent;
import net.luckperms.api.event.Param;
import net.luckperms.api.event.util.Param;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

View File

@ -44,7 +44,7 @@ import net.luckperms.api.model.data.TemporaryNodeMergeStrategy;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.NodeEqualityPredicate;
import net.luckperms.api.node.NodeType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.node.types.InheritanceNode;
import net.luckperms.api.query.Flag;
import net.luckperms.api.query.QueryOptions;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.lang.ref.WeakReference;
import java.util.UUID;

View File

@ -29,7 +29,7 @@ import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.UUID;

View File

@ -33,7 +33,7 @@ import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.luckperms.api.context.DefaultContextKeys;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Set;
import java.util.UUID;

View File

@ -28,7 +28,7 @@ package me.lucko.luckperms.common.sender;
import me.lucko.luckperms.common.plugin.LuckPermsPlugin;
import net.kyori.text.Component;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Objects;
import java.util.UUID;

View File

@ -45,7 +45,7 @@ import me.lucko.luckperms.common.web.BytebinClient;
import net.kyori.text.TextComponent;
import net.kyori.text.event.HoverEvent;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryMode;
import java.io.ByteArrayOutputStream;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.sender.SenderFactory;
import me.lucko.luckperms.common.util.TextUtils;
import net.kyori.text.Component;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import cn.nukkit.Player;
import cn.nukkit.command.CommandSender;

View File

@ -30,7 +30,7 @@ import me.lucko.luckperms.common.calculator.processor.PermissionProcessor;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.nukkit.LPNukkitPlugin;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Collections;
import java.util.Map;

View File

@ -30,7 +30,7 @@ import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.nukkit.LPNukkitPlugin;
import me.lucko.luckperms.nukkit.inject.PermissionDefault;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
/**
* Permission Processor for Nukkits "default" permission system.

View File

@ -37,7 +37,7 @@ import me.lucko.luckperms.nukkit.LPNukkitPlugin;
import me.lucko.luckperms.nukkit.calculator.DefaultsProcessor;
import me.lucko.luckperms.nukkit.inject.PermissionDefault;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.verbose.VerboseHandler;
import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import me.lucko.luckperms.nukkit.inject.dummy.DummyPermissibleBase;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import cn.nukkit.permission.PermissibleBase;

View File

@ -31,7 +31,7 @@ import com.google.common.collect.ImmutableMap;
import me.lucko.luckperms.common.cache.Cache;
import me.lucko.luckperms.nukkit.LPNukkitPlugin;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -32,7 +32,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubject;
import me.lucko.luckperms.sponge.service.model.LPSubjectCollection;
import me.lucko.luckperms.sponge.service.model.ProxiedServiceObject;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;

View File

@ -32,7 +32,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubject;
import me.lucko.luckperms.sponge.service.model.LPSubjectCollection;
import me.lucko.luckperms.sponge.service.model.ProxiedServiceObject;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;

View File

@ -34,7 +34,7 @@ import me.lucko.luckperms.sponge.service.context.DelegatingImmutableContextSet;
import net.luckperms.api.context.ContextSet;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.service.context.Context;

View File

@ -28,7 +28,7 @@ package me.lucko.luckperms.sponge.service.model;
import com.google.common.collect.ImmutableList;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.spongepowered.api.command.CommandSource;

View File

@ -30,7 +30,7 @@ import com.google.common.collect.ImmutableMap;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.service.permission.SubjectData;

View File

@ -32,7 +32,7 @@ import me.lucko.luckperms.sponge.service.CompatibilityUtil;
import net.kyori.text.Component;
import net.kyori.text.adapter.spongeapi.TextAdapter;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.command.CommandSource;
import org.spongepowered.api.entity.living.player.Player;

View File

@ -30,7 +30,7 @@ import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.sponge.service.model.LPPermissionService;
import me.lucko.luckperms.sponge.service.model.LPSubject;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
public abstract class DefaultsProcessor implements PermissionProcessor {

View File

@ -30,7 +30,7 @@ import me.lucko.luckperms.common.calculator.processor.PermissionProcessor;
import me.lucko.luckperms.common.calculator.result.TristateResult;
import me.lucko.luckperms.common.node.AbstractNode;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
public class SpongeWildcardProcessor extends AbstractPermissionProcessor implements PermissionProcessor {
private static final TristateResult.Factory RESULT_FACTORY = new TristateResult.Factory(SpongeWildcardProcessor.class);

View File

@ -39,7 +39,7 @@ import me.lucko.luckperms.common.util.Predicates;
import me.lucko.luckperms.sponge.service.model.LPSubjectData;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.List;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.common.locale.LocaleManager;
import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.List;
import java.util.Map;

View File

@ -49,7 +49,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.event.cause.CreationCause;
import net.luckperms.api.node.HeldNode;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.service.permission.PermissionService;
import org.spongepowered.api.service.permission.SubjectCollection;

View File

@ -49,7 +49,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.HeldNode;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.service.permission.PermissionService;
import org.spongepowered.api.service.permission.SubjectCollection;

View File

@ -37,7 +37,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubject;
import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import java.util.HashMap;

View File

@ -38,7 +38,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.spongepowered.api.service.permission.SubjectData;

View File

@ -31,7 +31,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.concurrent.CompletableFuture;

View File

@ -46,7 +46,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.spongepowered.api.service.permission.PermissionService;

View File

@ -49,7 +49,7 @@ import net.luckperms.api.model.data.DataType;
import net.luckperms.api.node.ChatMetaType;
import net.luckperms.api.node.Node;
import net.luckperms.api.node.NodeType;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.node.types.InheritanceNode;
import net.luckperms.api.node.types.MetaNode;
import net.luckperms.api.node.types.PrefixNode;

View File

@ -41,7 +41,7 @@ import me.lucko.luckperms.sponge.service.model.LPSubjectCollection;
import me.lucko.luckperms.sponge.service.model.LPSubjectReference;
import net.luckperms.api.context.ImmutableContextSet;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import org.spongepowered.api.service.permission.SubjectCollection;

View File

@ -35,7 +35,7 @@ import me.lucko.luckperms.common.util.TextUtils;
import me.lucko.luckperms.velocity.service.CompatibilityUtil;
import net.kyori.text.Component;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.UUID;

View File

@ -38,7 +38,7 @@ import me.lucko.luckperms.common.verbose.event.PermissionCheckEvent;
import me.lucko.luckperms.velocity.LPVelocityPlugin;
import me.lucko.luckperms.velocity.service.CompatibilityUtil;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import net.luckperms.api.query.QueryOptions;
import org.checkerframework.checker.nullness.qual.NonNull;

View File

@ -25,7 +25,7 @@
package me.lucko.luckperms.velocity.service;
import net.luckperms.api.node.Tristate;
import net.luckperms.api.util.Tristate;
import java.util.Objects;