Optimize Imports

This commit is contained in:
Olof Larsson 2017-03-24 13:05:59 +01:00
parent e4d98d8f2c
commit afb6882157
322 changed files with 1271 additions and 1444 deletions

View File

@ -1,12 +1,12 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.xlib.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.xlib.gson.annotations.SerializedName;
public class Aspect extends Entity<Aspect>
{
// -------------------------------------------- //

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.store.Coll;
import java.util.ArrayList;
import java.util.List;
import com.massivecraft.massivecore.store.Coll;
public class AspectColl extends Coll<Aspect>
{
// -------------------------------------------- //

View File

@ -1,12 +1,5 @@
package com.massivecraft.massivecore;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.massivecore.CmdMassiveCore;
@ -15,6 +8,12 @@ import com.massivecraft.massivecore.command.requirement.RequirementAbstract;
import com.massivecraft.massivecore.command.requirement.RequirementIsPlayer;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.mson.MsonEvent;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import static com.massivecraft.massivecore.mson.Mson.mson;

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.util.MUtil;
import java.util.Map;
import java.util.UUID;
import com.massivecraft.massivecore.util.MUtil;
public class ConfServer extends SimpleConfig
{
// -------------------------------------------- //

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.util.MUtil;
import java.io.Serializable;
import java.util.Map.Entry;
import com.massivecraft.massivecore.util.MUtil;
public class Couple<A, B> implements Entry<A, B>, Cloneable, Serializable
{
// -------------------------------------------- //

View File

@ -1,7 +1,7 @@
package com.massivecraft.massivecore;
import java.util.Set;
import com.massivecraft.massivecore.collections.MassiveSet;
import com.massivecraft.massivecore.predicate.PredicateStartsWithIgnoreCase;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
@ -11,8 +11,7 @@ import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.player.PlayerInteractEntityEvent;
import org.bukkit.scheduler.BukkitTask;
import com.massivecraft.massivecore.collections.MassiveSet;
import com.massivecraft.massivecore.predicate.PredicateStartsWithIgnoreCase;
import java.util.Set;
public abstract class Engine implements Active, Listener, Runnable
{

View File

@ -1,19 +1,18 @@
package com.massivecraft.massivecore;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.server.PluginDisableEvent;
import org.bukkit.event.server.PluginEnableEvent;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.predicate.Predicate;
import com.massivecraft.massivecore.predicate.PredicateIntegration;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.server.PluginDisableEvent;
import org.bukkit.event.server.PluginEnableEvent;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class Integration extends Engine
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.mson.Mson;
import org.bukkit.ChatColor;
import com.massivecraft.massivecore.mson.Mson;
import static com.massivecraft.massivecore.mson.Mson.mson;
public class Lang

View File

@ -1,18 +1,5 @@
package com.massivecraft.massivecore;
import java.lang.reflect.Modifier;
import java.lang.reflect.Type;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Set;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.Sound;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import com.massivecraft.massivecore.adapter.AdapterBackstringSet;
import com.massivecraft.massivecore.adapter.AdapterBannerPatterns;
import com.massivecraft.massivecore.adapter.AdapterEntry;
@ -126,6 +113,18 @@ import com.massivecraft.massivecore.xlib.gson.JsonNull;
import com.massivecraft.massivecore.xlib.gson.JsonObject;
import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.reflect.TypeToken;
import org.bukkit.Bukkit;
import org.bukkit.Sound;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import java.lang.reflect.Modifier;
import java.lang.reflect.Type;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Set;
import java.util.UUID;
public class MassiveCore extends MassivePlugin
{

View File

@ -1,11 +1,5 @@
package com.massivecraft.massivecore;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.bukkit.permissions.Permissible;
import com.massivecraft.massivecore.collections.MassiveMap;
import com.massivecraft.massivecore.command.editor.annotation.EditorName;
import com.massivecraft.massivecore.command.editor.annotation.EditorType;
@ -16,6 +10,11 @@ import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.PermissionUtil;
import com.massivecraft.massivecore.util.TimeUnit;
import com.massivecraft.massivecore.xlib.mongodb.WriteConcern;
import org.bukkit.permissions.Permissible;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@EditorName("config")
public class MassiveCoreMConf extends Entity<MassiveCoreMConf>

View File

@ -1,6 +1,5 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.store.Coll;
public class MassiveCoreMConfColl extends Coll<MassiveCoreMConf>

View File

@ -1,8 +1,7 @@
package com.massivecraft.massivecore;
import org.bukkit.permissions.Permissible;
import com.massivecraft.massivecore.util.PermissionUtil;
import org.bukkit.permissions.Permissible;
public enum MassiveCorePerm implements Identified
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.mson.Mson;
import java.util.Arrays;
import java.util.Collection;
import com.massivecraft.massivecore.mson.Mson;
public class MassiveException extends Exception
{

View File

@ -1,18 +1,5 @@
package com.massivecraft.massivecore;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.store.Coll;
@ -20,6 +7,18 @@ import com.massivecraft.massivecore.util.ReflectionUtil;
import com.massivecraft.massivecore.util.Txt;
import com.massivecraft.massivecore.xlib.gson.Gson;
import com.massivecraft.massivecore.xlib.gson.GsonBuilder;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
public abstract class MassivePlugin extends JavaPlugin implements Listener, Named
{

View File

@ -1,12 +1,12 @@
package com.massivecraft.massivecore;
import java.util.List;
import org.bukkit.metadata.MetadataValue;
import org.bukkit.metadata.MetadataValueAdapter;
import org.bukkit.metadata.Metadatable;
import org.bukkit.plugin.Plugin;
import java.util.List;
public class MetadataSimple extends MetadataValueAdapter
{
// -------------------------------------------- //

View File

@ -28,6 +28,7 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.util.MUtil;
import org.bukkit.Bukkit;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.YamlConfiguration;
@ -35,8 +36,6 @@ import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.scheduler.BukkitTask;
import com.massivecraft.massivecore.util.MUtil;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;

View File

@ -1,5 +1,9 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.command.type.TypeUniverse;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.util.MUtil;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
@ -8,10 +12,6 @@ import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeSet;
import com.massivecraft.massivecore.command.type.TypeUniverse;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.util.MUtil;
public class Multiverse extends Entity<Multiverse>
{
// -------------------------------------------- //

View File

@ -1,10 +1,9 @@
package com.massivecraft.massivecore;
import java.util.UUID;
import com.massivecraft.massivecore.engine.EngineMassiveCorePlayerState;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.engine.EngineMassiveCorePlayerState;
import java.util.UUID;
/**
* This enumeration is used to keep track of where a player currently is within the login --> join --> play --> leave cycle.

View File

@ -1,15 +1,14 @@
package com.massivecraft.massivecore;
import java.util.Collection;
import java.util.List;
import org.bukkit.entity.LivingEntity;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.editor.annotation.EditorType;
import com.massivecraft.massivecore.command.type.convert.TypeConverterPotionEffectType;
import org.bukkit.entity.LivingEntity;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import java.util.Collection;
import java.util.List;
/**
* This class wraps the Bukkit PotionEffect class by reimplementing storage of the data.

View File

@ -1,15 +1,15 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.comparator.ComparatorIdentity;
import com.massivecraft.massivecore.comparator.ComparatorPrioritized;
import com.massivecraft.massivecore.util.MUtil;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import com.massivecraft.massivecore.comparator.ComparatorIdentity;
import com.massivecraft.massivecore.comparator.ComparatorPrioritized;
import com.massivecraft.massivecore.util.MUtil;
public class PriorityLines implements Prioritized, Comparable<PriorityLines>
{
// -------------------------------------------- //

View File

@ -1,14 +1,14 @@
package com.massivecraft.massivecore;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
public class Progressbar
{
// -------------------------------------------- //

View File

@ -1,12 +1,11 @@
package com.massivecraft.massivecore;
import java.io.File;
import org.bukkit.plugin.Plugin;
import com.massivecraft.massivecore.store.accessor.Accessor;
import com.massivecraft.massivecore.util.DiscUtil;
import com.massivecraft.massivecore.xlib.gson.Gson;
import org.bukkit.plugin.Plugin;
import java.io.File;
public class SimpleConfig
{

View File

@ -1,19 +1,18 @@
package com.massivecraft.massivecore;
import java.io.Serializable;
import java.util.Collection;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.entity.HumanEntity;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.command.editor.annotation.EditorName;
import com.massivecraft.massivecore.command.editor.annotation.EditorNullable;
import com.massivecraft.massivecore.command.editor.annotation.EditorType;
import com.massivecraft.massivecore.command.type.enumeration.TypeSound;
import com.massivecraft.massivecore.command.type.enumeration.TypeSoundId;
import com.massivecraft.massivecore.util.MUtil;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.entity.HumanEntity;
import org.bukkit.entity.Player;
import java.io.Serializable;
import java.util.Collection;
public final class SoundEffect implements Serializable
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.massivecore;
import java.io.Serializable;
import com.massivecraft.massivecore.util.MUtil;
import java.io.Serializable;
public class Triple<A, B, C> implements Cloneable, Serializable
{
// -------------------------------------------- //

View File

@ -1,9 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Set;
import com.massivecraft.massivecore.collections.BackstringSet;
import com.massivecraft.massivecore.command.type.RegistryType;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
@ -14,6 +10,10 @@ import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import com.massivecraft.massivecore.xlib.gson.reflect.TypeToken;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Set;
public class AdapterBackstringSet implements JsonDeserializer<BackstringSet<?>>, JsonSerializer<BackstringSet<?>>
{
// -------------------------------------------- //

View File

@ -1,8 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Iterator;
import com.massivecraft.massivecore.collections.MassiveListDef;
import com.massivecraft.massivecore.item.DataBannerPattern;
import com.massivecraft.massivecore.xlib.gson.JsonArray;
@ -13,6 +10,9 @@ import com.massivecraft.massivecore.xlib.gson.JsonNull;
import com.massivecraft.massivecore.xlib.gson.JsonObject;
import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import java.lang.reflect.Type;
import java.util.Iterator;
public class AdapterBannerPatterns implements JsonDeserializer<MassiveListDef<DataBannerPattern>>
{
// -------------------------------------------- //

View File

@ -1,10 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Map.Entry;
import java.util.AbstractMap.SimpleEntry;
import com.massivecraft.massivecore.xlib.gson.JsonArray;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
@ -14,6 +9,11 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
public class AdapterEntry implements JsonDeserializer<Entry<?, ?>>, JsonSerializer<Entry<?, ?>>
{
// -------------------------------------------- //

View File

@ -1,13 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Map.Entry;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.item.DataItemStack;
import com.massivecraft.massivecore.mixin.MixinInventory;
@ -19,6 +11,13 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Map.Entry;
/**
* This is my Gson adapter for Inventories.

View File

@ -1,8 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.massivecore.item.DataItemStack;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
@ -10,6 +7,9 @@ import com.massivecraft.massivecore.xlib.gson.JsonElement;
import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import org.bukkit.inventory.ItemStack;
import java.lang.reflect.Type;
/**
* This is a GSON serializer/deserializer for the Bukkit ItemStack. Why not use

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
@ -9,6 +7,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterJsonElement implements JsonDeserializer<JsonElement>, JsonSerializer<JsonElement>
{
// -------------------------------------------- //

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterLowercaseEnum<T extends Enum<T>> implements JsonDeserializer<T>, JsonSerializer<T>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Collection;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.collections.MassiveListDef;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import java.lang.reflect.Type;
import java.util.Collection;
public class AdapterMassiveList extends AdapterMassiveX<MassiveList<?>>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Map;
import com.massivecraft.massivecore.collections.MassiveMap;
import com.massivecraft.massivecore.collections.MassiveMapDef;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import java.lang.reflect.Type;
import java.util.Map;
public class AdapterMassiveMap extends AdapterMassiveX<MassiveMap<?, ?>>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Collection;
import com.massivecraft.massivecore.collections.MassiveSet;
import com.massivecraft.massivecore.collections.MassiveSetDef;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import java.lang.reflect.Type;
import java.util.Collection;
public class AdapterMassiveSet extends AdapterMassiveX<MassiveSet<?>>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Map;
import com.massivecraft.massivecore.collections.MassiveTreeMap;
import com.massivecraft.massivecore.collections.MassiveTreeMapDef;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import java.lang.reflect.Type;
import java.util.Map;
public class AdapterMassiveTreeMap extends AdapterMassiveX<MassiveTreeMap<?, ?, ?>>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.Collection;
import com.massivecraft.massivecore.collections.MassiveTreeSet;
import com.massivecraft.massivecore.collections.MassiveTreeSetDef;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import java.lang.reflect.Type;
import java.util.Collection;
public class AdapterMassiveTreeSet extends AdapterMassiveX<MassiveTreeSet<?, ?>>
{
// -------------------------------------------- //

View File

@ -1,11 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collection;
import java.util.Map;
import com.massivecraft.massivecore.collections.Def;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
@ -16,6 +10,12 @@ import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import com.massivecraft.massivecore.xlib.gson.internal.$Gson$Types;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collection;
import java.util.Map;
/**
* This is the abstract adapter for all "Massive structures".
* It makes sure Def instances "handle empty as null".

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
@ -10,6 +8,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterMson implements JsonDeserializer<Mson>, JsonSerializer<Mson>
{
// -------------------------------------------- //

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.mson.MsonEvent;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
@ -10,6 +8,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterMsonEvent implements JsonDeserializer<MsonEvent>, JsonSerializer<MsonEvent>
{
// -------------------------------------------- //

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.mson.MsonEvent;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterMsonEventFix implements JsonDeserializer<MsonEvent>, JsonSerializer<MsonEvent>
{
// -------------------------------------------- //

View File

@ -1,15 +1,14 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import org.bukkit.inventory.PlayerInventory;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import org.bukkit.inventory.PlayerInventory;
import java.lang.reflect.Type;
public class AdapterPlayerInventory implements JsonDeserializer<PlayerInventory>, JsonSerializer<PlayerInventory>
{

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
@ -12,6 +10,8 @@ import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
public class AdapterPolymorphic<T> implements JsonDeserializer<T>, JsonSerializer<T>
{
public static final String TYPE = "type";

View File

@ -1,9 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import org.bukkit.Sound;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
@ -12,6 +8,9 @@ import com.massivecraft.massivecore.xlib.gson.JsonParseException;
import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import org.bukkit.Sound;
import java.lang.reflect.Type;
public class AdapterSound implements JsonDeserializer<Sound>, JsonSerializer<Sound>
{

View File

@ -1,8 +1,5 @@
package com.massivecraft.massivecore.adapter;
import java.lang.reflect.Type;
import java.util.UUID;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonDeserializer;
import com.massivecraft.massivecore.xlib.gson.JsonElement;
@ -11,6 +8,9 @@ import com.massivecraft.massivecore.xlib.gson.JsonPrimitive;
import com.massivecraft.massivecore.xlib.gson.JsonSerializationContext;
import com.massivecraft.massivecore.xlib.gson.JsonSerializer;
import java.lang.reflect.Type;
import java.util.UUID;
public class AdapterUUID implements JsonDeserializer<UUID>, JsonSerializer<UUID>
{
// -------------------------------------------- //

View File

@ -1,10 +1,9 @@
package com.massivecraft.massivecore.chestgui;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;
import com.massivecraft.massivecore.util.IdUtil;
import com.massivecraft.massivecore.util.MUtil;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;
public class ChestActionAbstract implements ChestAction
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.chestgui;
import java.security.InvalidParameterException;
import com.massivecraft.massivecore.mixin.MixinCommand;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;
import com.massivecraft.massivecore.mixin.MixinCommand;
import java.security.InvalidParameterException;
public class ChestActionCommand extends ChestActionAbstract
{

View File

@ -1,15 +1,14 @@
package com.massivecraft.massivecore.chestgui;
import java.util.List;
import java.util.Map;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.SoundEffect;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.collections.MassiveMap;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import java.util.List;
import java.util.Map;
public class ChestGui
{

View File

@ -1,14 +1,14 @@
package com.massivecraft.massivecore.collections;
import java.util.Arrays;
import java.util.Collection;
import java.util.Objects;
import com.massivecraft.massivecore.command.editor.annotation.EditorType;
import com.massivecraft.massivecore.command.type.container.TypeMassiveTreeSetInsensitive;
import com.massivecraft.massivecore.comparator.ComparatorCaseInsensitive;
import com.massivecraft.massivecore.util.MUtil;
import java.util.Arrays;
import java.util.Collection;
import java.util.Objects;
public class ExceptionSet
{
// -------------------------------------------- //

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.collections;
import com.massivecraft.massivecore.ps.PS;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.entity.Entity;
import com.massivecraft.massivecore.ps.PS;
public class WorldExceptionSet extends ExceptionSet
{
// -------------------------------------------- //

View File

@ -1,22 +1,5 @@
package com.massivecraft.massivecore.command;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginIdentifiableCommand;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import com.massivecraft.massivecore.Active;
import com.massivecraft.massivecore.Lang;
import com.massivecraft.massivecore.MassiveException;
@ -35,6 +18,22 @@ import com.massivecraft.massivecore.predicate.PredicateStartsWithIgnoreCase;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.PermissionUtil;
import com.massivecraft.massivecore.util.Txt;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginIdentifiableCommand;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public class MassiveCommand implements Active, PluginIdentifiableCommand
{

View File

@ -1,15 +1,14 @@
package com.massivecraft.massivecore.command;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.List;
public class MassiveCommandHelp extends MassiveCommand
{

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.command;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.Type;
import com.massivecraft.massivecore.command.type.sender.TypeSenderId;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.util.IdUtil;
import com.massivecraft.massivecore.util.PermissionUtil;
import com.massivecraft.massivecore.util.Txt;
import java.util.List;
public abstract class MassiveCommandSet<T> extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,11 +1,11 @@
package com.massivecraft.massivecore.command;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeBooleanOn;
import com.massivecraft.massivecore.util.Txt;
import java.util.List;
public abstract class MassiveCommandToggle extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command;
import java.util.List;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import com.massivecraft.massivecore.util.Txt;
import java.util.List;
public class MassiveCommandVersion extends MassiveCommand
{

View File

@ -1,20 +1,19 @@
package com.massivecraft.massivecore.command;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginIdentifiableCommand;
import org.bukkit.plugin.Plugin;
import com.massivecraft.massivecore.Lang;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.mixin.MixinMessage;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.PluginIdentifiableCommand;
import org.bukkit.plugin.Plugin;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class MassiveCoreBukkitCommand extends Command implements PluginIdentifiableCommand
{

View File

@ -1,13 +1,12 @@
package com.massivecraft.massivecore.command;
import static com.massivecraft.massivecore.mson.Mson.mson;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.command.type.Type;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import com.massivecraft.massivecore.mson.Mson;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import static com.massivecraft.massivecore.mson.Mson.mson;
public class Parameter<T>
{

View File

@ -1,11 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import java.util.Map.Entry;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.MassiveCommand;
@ -16,6 +10,11 @@ import com.massivecraft.massivecore.event.EventMassiveCoreEditorEdit;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.List;
import java.util.Map.Entry;
public class CommandEditAbstract<O, V> extends MassiveCommand
{

View File

@ -1,13 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.util.AbstractMap.SimpleImmutableEntry;
import org.bukkit.ChatColor;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.requirement.RequirementEditorPropertyCreated;
@ -16,6 +8,12 @@ import com.massivecraft.massivecore.command.type.TypeNullable;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.util.ContainerUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.ChatColor;
import java.util.AbstractMap.SimpleImmutableEntry;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public abstract class CommandEditContainerAbstract<O, V> extends CommandEditAbstract<O, V>
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import java.util.List;
public class CommandEditContainerInsert<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import java.util.List;
public class CommandEditContainerMove<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,13 +1,13 @@
package com.massivecraft.massivecore.command.editor;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.util.MUtil;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.util.MUtil;
public class CommandEditContainerRemove<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import java.util.List;
public class CommandEditContainerRemoveIndex<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,10 +1,10 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import java.util.List;
public class CommandEditContainerSet<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,11 +1,11 @@
package com.massivecraft.massivecore.command.editor;
import java.util.Collections;
import java.util.List;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.primitive.TypeInteger;
import java.util.Collections;
import java.util.List;
public class CommandEditContainerSwap<O, V> extends CommandEditContainerAbstract<O, V>
{
// -------------------------------------------- //

View File

@ -1,9 +1,9 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import org.bukkit.inventory.ItemStack;
import java.util.List;
public class CommandEditItemStacks<O> extends CommandEditAbstract<O, List<ItemStack>>
{
// -------------------------------------------- //

View File

@ -1,10 +1,9 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import com.massivecraft.massivecore.command.requirement.RequirementEditorPropertyCreated;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.massivecore.command.requirement.RequirementEditorPropertyCreated;
import java.util.List;
public abstract class CommandEditItemStacksAbstract<O> extends CommandEditAbstract<O, List<ItemStack>>
{

View File

@ -1,18 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryCloseEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
@ -21,6 +8,18 @@ import com.massivecraft.massivecore.command.requirement.RequirementIsPlayer;
import com.massivecraft.massivecore.mixin.MixinInventory;
import com.massivecraft.massivecore.util.InventoryUtil;
import com.massivecraft.massivecore.util.MUtil;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryCloseEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import java.util.List;
import java.util.Set;
import java.util.UUID;
public class CommandEditItemStacksOpen<O> extends CommandEditItemStacksAbstract<O> implements Listener
{

View File

@ -1,12 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.requirement.Requirement;
@ -14,6 +7,12 @@ import com.massivecraft.massivecore.command.type.Type;
import com.massivecraft.massivecore.command.type.sender.TypeSender;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Set;
public class EditSettings<O>
{

View File

@ -1,16 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.util.AbstractMap.SimpleEntry;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.ListIterator;
import java.util.Map.Entry;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.Named;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.requirement.Requirement;
@ -18,6 +7,16 @@ import com.massivecraft.massivecore.command.type.Type;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.util.MUtil;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.AbstractMap.SimpleEntry;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.ListIterator;
import java.util.Map.Entry;
public abstract class Property<O, V> implements Named
{

View File

@ -1,14 +1,5 @@
package com.massivecraft.massivecore.command.editor;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.command.editor.annotation.EditorEditable;
import com.massivecraft.massivecore.command.editor.annotation.EditorInheritable;
@ -23,6 +14,14 @@ import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.particleeffect.ReflectionUtils;
import com.massivecraft.massivecore.util.ReflectionUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.List;
public class PropertyReflection<O, V> extends Property<O, V>
{

View File

@ -1,10 +1,9 @@
package com.massivecraft.massivecore.command.editor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.type.sender.TypeSender;
import com.massivecraft.massivecore.store.SenderColl;
import com.massivecraft.massivecore.store.SenderEntity;
import org.bukkit.command.CommandSender;
public class PropertyThisSenderEntity<O extends SenderEntity<O>> extends Property<CommandSender, O>
{

View File

@ -1,8 +1,7 @@
package com.massivecraft.massivecore.command.editor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.type.sender.TypeSender;
import org.bukkit.command.CommandSender;
public class PropertyUsed<V> extends Property<CommandSender, V>
{

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.MassiveCorePerm;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.command.editor.CommandEditAbstract;
import com.massivecraft.massivecore.command.editor.CommandEditSingleton;
import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
import java.util.List;
public class CmdMassiveCore extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,12 +1,12 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
import java.util.List;
public class CmdMassiveCoreBuffer extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,12 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.MassiveCorePerm;
@ -17,6 +10,12 @@ import com.massivecraft.massivecore.command.requirement.RequirementIsPlayer;
import com.massivecraft.massivecore.command.type.primitive.TypeString;
import com.massivecraft.massivecore.mixin.MixinMessage;
import com.massivecraft.massivecore.util.WebUtil;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
public class CmdMassiveCoreCmdurl extends MassiveCommand
{

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.SoundEffect;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.command.requirement.RequirementIsPlayer;
import com.massivecraft.massivecore.command.type.combined.TypeSoundEffect;
import com.massivecraft.massivecore.command.type.container.TypeList;
import java.util.List;
public class CmdMassiveCoreHearsound extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,12 +1,12 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
import java.util.List;
public class CmdMassiveCoreStore extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,9 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.Collection;
import java.util.Map.Entry;
import java.util.Set;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.MassiveException;
@ -16,6 +12,10 @@ import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.store.MStore;
import com.massivecraft.massivecore.xlib.gson.JsonObject;
import java.util.Collection;
import java.util.Map.Entry;
import java.util.Set;
public class CmdMassiveCoreStoreCopydb extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,8 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.Set;
import java.util.TreeSet;
import com.massivecraft.massivecore.ConfServer;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.MassiveException;
@ -15,6 +12,9 @@ import com.massivecraft.massivecore.store.Db;
import com.massivecraft.massivecore.store.MStore;
import com.massivecraft.massivecore.util.Txt;
import java.util.Set;
import java.util.TreeSet;
public class CmdMassiveCoreStoreListcolls extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,7 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.Map.Entry;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.MassiveCommand;
@ -11,6 +9,8 @@ import com.massivecraft.massivecore.store.Coll;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.Txt;
import java.util.Map.Entry;
public class CmdMassiveCoreStoreStats extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,11 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
@ -17,6 +11,11 @@ import com.massivecraft.massivecore.command.type.TypeItemStack;
import com.massivecraft.massivecore.command.type.primitive.TypeBooleanYes;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.util.InventoryUtil;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import java.util.List;
public class CmdMassiveCoreTest extends MassiveCommand
{

View File

@ -1,12 +1,12 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.List;
import com.massivecraft.massivecore.MassiveCoreMConf;
import com.massivecraft.massivecore.MassiveCorePerm;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
import java.util.List;
public class CmdMassiveCoreUsys extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,8 +1,5 @@
package com.massivecraft.massivecore.command.massivecore;
import java.util.ArrayList;
import java.util.List;
import com.massivecraft.massivecore.Aspect;
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.MassiveCorePerm;
@ -13,6 +10,9 @@ import com.massivecraft.massivecore.command.requirement.RequirementHasPerm;
import com.massivecraft.massivecore.command.type.store.TypeMultiverse;
import com.massivecraft.massivecore.util.Txt;
import java.util.ArrayList;
import java.util.List;
public class CmdMassiveCoreUsysMultiverseShow extends MassiveCommand
{
// -------------------------------------------- //

View File

@ -1,9 +1,8 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.predicate.Predicate;
import org.bukkit.command.CommandSender;
public interface Requirement extends Predicate<CommandSender>
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import java.io.Serializable;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.mixin.MixinMessage;
import org.bukkit.command.CommandSender;
import java.io.Serializable;
public abstract class RequirementAbstract implements Requirement, Serializable
{

View File

@ -1,15 +1,14 @@
package com.massivecraft.massivecore.command.requirement;
import com.massivecraft.massivecore.command.MassiveCommand;
import org.bukkit.command.CommandSender;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
public class RequirementAnd extends RequirementAbstract
{
private static final long serialVersionUID = 1L;

View File

@ -1,12 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.editor.CommandEditAbstract;
import com.massivecraft.massivecore.command.editor.Property;
import com.massivecraft.massivecore.command.requirement.RequirementAbstract;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
public class RequirementEditorPropertyCreated extends RequirementAbstract
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.editor.CommandEditAbstract;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
public class RequirementEditorUse extends RequirementAbstract
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.Material;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.command.type.TypeItemStack;
import org.bukkit.Material;
import org.bukkit.command.CommandSender;
public class RequirementHasItemInHand extends RequirementAbstract
{

View File

@ -1,9 +1,8 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.util.PermissionUtil;
import org.bukkit.command.CommandSender;
public class RequirementHasPerm extends RequirementAbstract
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.Lang;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class RequirementIsPlayer extends RequirementAbstract
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.mixin.MixinDisplayName;
import com.massivecraft.massivecore.util.IdUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
public class RequirementIsntCertainSender extends RequirementAbstract
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.massivecore.Lang;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class RequirementIsntPlayer extends RequirementAbstract
{

View File

@ -1,11 +1,10 @@
package com.massivecraft.massivecore.command.requirement;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.Lang;
import com.massivecraft.massivecore.command.MassiveCommand;
import com.massivecraft.massivecore.mixin.MixinTitle;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
public class RequirementTitlesAvailable extends RequirementAbstract
{

View File

@ -1,11 +1,5 @@
package com.massivecraft.massivecore.command.type;
import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.massivecraft.massivecore.collections.BackstringSet;
import com.massivecraft.massivecore.collections.ExceptionSet;
import com.massivecraft.massivecore.collections.MassiveList;
@ -59,6 +53,12 @@ import com.massivecraft.massivecore.command.type.store.TypeAspect;
import com.massivecraft.massivecore.command.type.store.TypeMultiverse;
import com.massivecraft.massivecore.util.ReflectionUtil;
import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class RegistryType
{
// -------------------------------------------- //

View File

@ -1,19 +1,18 @@
package com.massivecraft.massivecore.command.type;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.Named;
import com.massivecraft.massivecore.command.editor.CommandEditAbstract;
import com.massivecraft.massivecore.command.editor.EditSettings;
import com.massivecraft.massivecore.command.editor.Property;
import com.massivecraft.massivecore.mson.Mson;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.Collection;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
public interface Type<T> extends Named
{

View File

@ -1,19 +1,5 @@
package com.massivecraft.massivecore.command.type;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.ListIterator;
import java.util.Set;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.Colorized;
import com.massivecraft.massivecore.Identified;
import com.massivecraft.massivecore.MassiveException;
@ -32,6 +18,19 @@ import com.massivecraft.massivecore.util.ContainerUtil;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.ReflectionUtil;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.ListIterator;
import java.util.Set;
public abstract class TypeAbstract<T> implements Type<T>
{

View File

@ -1,17 +1,5 @@
package com.massivecraft.massivecore.command.type;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.regex.Pattern;
import org.apache.commons.lang.StringUtils;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.collections.MassiveList;
import com.massivecraft.massivecore.collections.MassiveMap;
@ -22,6 +10,17 @@ import com.massivecraft.massivecore.comparator.ComparatorCaseInsensitive;
import com.massivecraft.massivecore.mson.Mson;
import com.massivecraft.massivecore.util.ReflectionUtil;
import com.massivecraft.massivecore.util.Txt;
import org.apache.commons.lang.StringUtils;
import org.bukkit.command.CommandSender;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.regex.Pattern;
public abstract class TypeAbstractChoice<T> extends TypeAbstract<T> implements AllAble<T>
{

View File

@ -1,9 +1,8 @@
package com.massivecraft.massivecore.command.type;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.util.Txt;
import org.bukkit.command.CommandSender;
public abstract class TypeAbstractException<T> extends TypeAbstract<T>
{

View File

@ -1,17 +1,16 @@
package com.massivecraft.massivecore.command.type;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.container.AllAble;
import com.massivecraft.massivecore.util.Txt;
import org.apache.commons.lang.StringUtils;
import org.bukkit.command.CommandSender;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.bukkit.command.CommandSender;
import com.massivecraft.massivecore.MassiveException;
import com.massivecraft.massivecore.command.type.container.AllAble;
import com.massivecraft.massivecore.util.Txt;
public abstract class TypeAbstractSelect<T> extends TypeAbstract<T> implements AllAble<T>
{
// -------------------------------------------- //

Some files were not shown because too many files have changed in this diff Show More