public @NonNull Optional<CommandPermission> getPermission() {
        return Optional.ofNullable(this.permission);
    }
Gets the permission required by this command, if present

@return the command permission
common/src/main/java/me/lucko/luckperms/common/command/abstraction/Command.java