Renamed to mcore2dev
This commit is contained in:
parent
0a350f5126
commit
af388effea
@ -23,4 +23,3 @@ License
|
|||||||
----------
|
----------
|
||||||
This project is open source. We are using [The MIT Licence](http://www.opensource.org/licenses/MIT)<br>
|
This project is open source. We are using [The MIT Licence](http://www.opensource.org/licenses/MIT)<br>
|
||||||
This project includes [GSON](http://code.google.com/p/google-gson/) which has an [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0).
|
This project includes [GSON](http://code.google.com/p/google-gson/) which has an [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0).
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: mcore1
|
name: mcore2dev
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
main: com.massivecraft.mcore1.MCore
|
main: com.massivecraft.mcore2dev.MCore
|
||||||
authors: [Olof Larsson, Brett Flannigan]
|
authors: [Olof Larsson, Brett Flannigan]
|
||||||
commands:
|
commands:
|
||||||
mcoresilenteater:
|
mcoresilenteater:
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
/**
|
|
||||||
* This package provides the {@link com.massivecraft.mcore1.lib.gson.Gson} class to convert Json to Java and
|
|
||||||
* vice-versa.
|
|
||||||
*
|
|
||||||
* <p>The primary class to use is {@link com.massivecraft.mcore1.lib.gson.Gson} which can be constructed with
|
|
||||||
* {@code new Gson()} (using default settings) or by using {@link com.massivecraft.mcore1.lib.gson.GsonBuilder}
|
|
||||||
* (to configure various options such as using versioning and so on).</p>
|
|
||||||
*
|
|
||||||
* @author Inderjeet Singh, Joel Leitch
|
|
||||||
*/
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1;
|
package com.massivecraft.mcore2dev;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -9,9 +9,9 @@ import org.bukkit.event.player.PlayerCommandPreprocessEvent;
|
|||||||
import org.bukkit.event.player.PlayerPreLoginEvent;
|
import org.bukkit.event.player.PlayerPreLoginEvent;
|
||||||
import org.bukkit.event.server.ServerCommandEvent;
|
import org.bukkit.event.server.ServerCommandEvent;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.persist.IClassManager;
|
import com.massivecraft.mcore2dev.persist.IClassManager;
|
||||||
import com.massivecraft.mcore1.persist.Persist;
|
import com.massivecraft.mcore2dev.persist.Persist;
|
||||||
import com.massivecraft.mcore1.util.PlayerUtil;
|
import com.massivecraft.mcore2dev.util.PlayerUtil;
|
||||||
|
|
||||||
public class InternalListener implements Listener
|
public class InternalListener implements Listener
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1;
|
package com.massivecraft.mcore2dev;
|
||||||
|
|
||||||
public class Lang
|
public class Lang
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1;
|
package com.massivecraft.mcore2dev;
|
||||||
|
|
||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -13,13 +13,13 @@ import java.util.logging.Logger;
|
|||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.cmd.Cmd;
|
import com.massivecraft.mcore2dev.cmd.Cmd;
|
||||||
import com.massivecraft.mcore1.lib.gson.GsonBuilder;
|
import com.massivecraft.mcore2dev.lib.gson.GsonBuilder;
|
||||||
import com.massivecraft.mcore1.persist.One;
|
import com.massivecraft.mcore2dev.persist.One;
|
||||||
import com.massivecraft.mcore1.persist.Persist;
|
import com.massivecraft.mcore2dev.persist.Persist;
|
||||||
import com.massivecraft.mcore1.util.LibLoader;
|
import com.massivecraft.mcore2dev.util.LibLoader;
|
||||||
import com.massivecraft.mcore1.util.PlayerUtil;
|
import com.massivecraft.mcore2dev.util.PlayerUtil;
|
||||||
import com.massivecraft.mcore1.util.Txt;
|
import com.massivecraft.mcore2dev.util.Txt;
|
||||||
|
|
||||||
public class MCore extends JavaPlugin
|
public class MCore extends JavaPlugin
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1;
|
package com.massivecraft.mcore2dev;
|
||||||
|
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
@ -8,13 +8,13 @@ import org.bukkit.event.Event;
|
|||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.cmd.Cmd;
|
import com.massivecraft.mcore2dev.cmd.Cmd;
|
||||||
import com.massivecraft.mcore1.lib.gson.Gson;
|
import com.massivecraft.mcore2dev.lib.gson.Gson;
|
||||||
import com.massivecraft.mcore1.lib.gson.GsonBuilder;
|
import com.massivecraft.mcore2dev.lib.gson.GsonBuilder;
|
||||||
import com.massivecraft.mcore1.persist.One;
|
import com.massivecraft.mcore2dev.persist.One;
|
||||||
import com.massivecraft.mcore1.persist.Persist;
|
import com.massivecraft.mcore2dev.persist.Persist;
|
||||||
import com.massivecraft.mcore1.util.LibLoader;
|
import com.massivecraft.mcore2dev.util.LibLoader;
|
||||||
import com.massivecraft.mcore1.util.Txt;
|
import com.massivecraft.mcore2dev.util.Txt;
|
||||||
|
|
||||||
|
|
||||||
public abstract class MPlugin extends JavaPlugin
|
public abstract class MPlugin extends JavaPlugin
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1;
|
package com.massivecraft.mcore2dev;
|
||||||
|
|
||||||
public interface Predictate<T>
|
public interface Predictate<T>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd;
|
package com.massivecraft.mcore2dev.cmd;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
@ -11,14 +11,14 @@ import org.bukkit.World;
|
|||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHBoolean;
|
import com.massivecraft.mcore2dev.cmd.arg.AHBoolean;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHDouble;
|
import com.massivecraft.mcore2dev.cmd.arg.AHDouble;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHFloat;
|
import com.massivecraft.mcore2dev.cmd.arg.AHFloat;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHInteger;
|
import com.massivecraft.mcore2dev.cmd.arg.AHInteger;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHMaterial;
|
import com.massivecraft.mcore2dev.cmd.arg.AHMaterial;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHPlayer;
|
import com.massivecraft.mcore2dev.cmd.arg.AHPlayer;
|
||||||
import com.massivecraft.mcore1.cmd.arg.AHWorld;
|
import com.massivecraft.mcore2dev.cmd.arg.AHWorld;
|
||||||
import com.massivecraft.mcore1.cmd.arg.IArgHandler;
|
import com.massivecraft.mcore2dev.cmd.arg.IArgHandler;
|
||||||
|
|
||||||
public class Cmd
|
public class Cmd
|
||||||
{
|
{
|
@ -1,10 +1,10 @@
|
|||||||
package com.massivecraft.mcore1.cmd;
|
package com.massivecraft.mcore2dev.cmd;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
import com.massivecraft.mcore1.cmd.MCommand;
|
import com.massivecraft.mcore2dev.cmd.MCommand;
|
||||||
import com.massivecraft.mcore1.util.Txt;
|
import com.massivecraft.mcore2dev.util.Txt;
|
||||||
|
|
||||||
public class HelpCommand extends MCommand
|
public class HelpCommand extends MCommand
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd;
|
package com.massivecraft.mcore2dev.cmd;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
@ -7,14 +7,14 @@ import java.util.logging.Level;
|
|||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.Lang;
|
import com.massivecraft.mcore2dev.Lang;
|
||||||
import com.massivecraft.mcore1.MCore;
|
import com.massivecraft.mcore2dev.MCore;
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
import com.massivecraft.mcore1.cmd.arg.IArgHandler;
|
import com.massivecraft.mcore2dev.cmd.arg.IArgHandler;
|
||||||
import com.massivecraft.mcore1.cmd.req.IReq;
|
import com.massivecraft.mcore2dev.cmd.req.IReq;
|
||||||
import com.massivecraft.mcore1.cmd.req.ReqHasPerm;
|
import com.massivecraft.mcore2dev.cmd.req.ReqHasPerm;
|
||||||
import com.massivecraft.mcore1.util.Perm;
|
import com.massivecraft.mcore2dev.util.Perm;
|
||||||
import com.massivecraft.mcore1.util.Txt;
|
import com.massivecraft.mcore2dev.util.Txt;
|
||||||
|
|
||||||
public abstract class MCommand
|
public abstract class MCommand
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd;
|
package com.massivecraft.mcore2dev.cmd;
|
||||||
|
|
||||||
public enum VisibilityMode
|
public enum VisibilityMode
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public abstract class AHBase<T> implements IArgHandler<T>
|
public abstract class AHBase<T> implements IArgHandler<T>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
public class AHBoolean extends AHPrimitive<Boolean>
|
public class AHBoolean extends AHPrimitive<Boolean>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
public class AHDouble extends AHPrimitive<Double>
|
public class AHDouble extends AHPrimitive<Double>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
public class AHFloat extends AHPrimitive<Float>
|
public class AHFloat extends AHPrimitive<Float>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
public class AHInteger extends AHPrimitive<Integer>
|
public class AHInteger extends AHPrimitive<Integer>
|
||||||
{
|
{
|
@ -1,9 +1,9 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public class AHMaterial extends AHBase<Material>
|
public class AHMaterial extends AHBase<Material>
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ import org.bukkit.Bukkit;
|
|||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public class AHPlayer extends AHBase<Player>
|
public class AHPlayer extends AHBase<Player>
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
import com.massivecraft.mcore1.persist.IClassManager;
|
import com.massivecraft.mcore2dev.persist.IClassManager;
|
||||||
import com.massivecraft.mcore1.persist.Persist;
|
import com.massivecraft.mcore2dev.persist.Persist;
|
||||||
import com.massivecraft.mcore1.util.PlayerUtil;
|
import com.massivecraft.mcore2dev.util.PlayerUtil;
|
||||||
|
|
||||||
public abstract class AHPlayerWrapper<T> extends AHBase<T>
|
public abstract class AHPlayerWrapper<T> extends AHBase<T>
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public abstract class AHPrimitive<T> extends AHBase<T>
|
public abstract class AHPrimitive<T> extends AHBase<T>
|
||||||
{
|
{
|
@ -1,10 +1,10 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public class AHWorld extends AHBase<World>
|
public class AHWorld extends AHBase<World>
|
||||||
{
|
{
|
@ -1,10 +1,10 @@
|
|||||||
package com.massivecraft.mcore1.cmd.arg;
|
package com.massivecraft.mcore2dev.cmd.arg;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.MPlugin;
|
import com.massivecraft.mcore2dev.MPlugin;
|
||||||
|
|
||||||
public interface IArgHandler<T>
|
public interface IArgHandler<T>
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
package com.massivecraft.mcore1.cmd.req;
|
package com.massivecraft.mcore2dev.cmd.req;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.cmd.MCommand;
|
import com.massivecraft.mcore2dev.cmd.MCommand;
|
||||||
|
|
||||||
public interface IReq
|
public interface IReq
|
||||||
{
|
{
|
@ -1,9 +1,9 @@
|
|||||||
package com.massivecraft.mcore1.cmd.req;
|
package com.massivecraft.mcore2dev.cmd.req;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.cmd.MCommand;
|
import com.massivecraft.mcore2dev.cmd.MCommand;
|
||||||
import com.massivecraft.mcore1.util.Perm;
|
import com.massivecraft.mcore2dev.util.Perm;
|
||||||
|
|
||||||
public class ReqHasPerm implements IReq
|
public class ReqHasPerm implements IReq
|
||||||
{
|
{
|
@ -1,10 +1,10 @@
|
|||||||
package com.massivecraft.mcore1.cmd.req;
|
package com.massivecraft.mcore2dev.cmd.req;
|
||||||
|
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.Lang;
|
import com.massivecraft.mcore2dev.Lang;
|
||||||
import com.massivecraft.mcore1.cmd.MCommand;
|
import com.massivecraft.mcore2dev.cmd.MCommand;
|
||||||
|
|
||||||
public class ReqIsPlayer implements IReq
|
public class ReqIsPlayer implements IReq
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package com.massivecraft.mcore1.gson;
|
package com.massivecraft.mcore2dev.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -11,14 +11,14 @@ import org.bukkit.inventory.Inventory;
|
|||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.getspout.spoutapi.SpoutManager;
|
import org.getspout.spoutapi.SpoutManager;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonDeserializationContext;
|
import com.massivecraft.mcore2dev.lib.gson.JsonDeserializationContext;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonDeserializer;
|
import com.massivecraft.mcore2dev.lib.gson.JsonDeserializer;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonElement;
|
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonObject;
|
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonParseException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonParseException;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
|
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSerializationContext;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSerializationContext;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSerializer;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSerializer;
|
||||||
|
|
||||||
public class InventoryTypeAdapter implements JsonDeserializer<Inventory>, JsonSerializer<Inventory>
|
public class InventoryTypeAdapter implements JsonDeserializer<Inventory>, JsonSerializer<Inventory>
|
||||||
{
|
{
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strategy for excluding anonymous and local classes.
|
* Strategy for excluding anonymous and local classes.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines generic cache interface.
|
* Defines generic cache interface.
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A strategy (or policy) definition that is used to decide whether or not a field or top-level
|
* A strategy (or policy) definition that is used to decide whether or not a field or top-level
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.annotations.Expose;
|
import com.massivecraft.mcore2dev.lib.gson.annotations.Expose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Excludes fields that do not have the {@link Expose} annotation
|
* Excludes fields that do not have the {@link Expose} annotation
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.annotations.Expose;
|
import com.massivecraft.mcore2dev.lib.gson.annotations.Expose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Excludes fields that do not have the {@link Expose} annotation
|
* Excludes fields that do not have the {@link Expose} annotation
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Pair;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Pair;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An enumeration that defines a few standard naming conventions for JSON field names.
|
* An enumeration that defines a few standard naming conventions for JSON field names.
|
||||||
* This enumeration should be used in conjunction with {@link com.massivecraft.mcore1.lib.gson.GsonBuilder}
|
* This enumeration should be used in conjunction with {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder}
|
||||||
* to configure a {@link com.massivecraft.mcore1.lib.gson.Gson} instance to properly translate Java field
|
* to configure a {@link com.massivecraft.mcore2dev.lib.gson.Gson} instance to properly translate Java field
|
||||||
* names into the desired JSON field names.
|
* names into the desired JSON field names.
|
||||||
*
|
*
|
||||||
* @author Inderjeet Singh
|
* @author Inderjeet Singh
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The new mechanism for providing custom field naming in Gson. This allows the client code
|
* The new mechanism for providing custom field naming in Gson. This allows the client code
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adapts the old FieldNamingStrategy to the new {@link FieldNamingStrategy2}
|
* Adapts the old FieldNamingStrategy to the new {@link FieldNamingStrategy2}
|
@ -14,33 +14,33 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ConstructorConstructor;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ParameterizedTypeHandlerMap;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Primitives;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Primitives;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.ArrayTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ArrayTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.BigDecimalTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.BigDecimalTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.BigIntegerTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.BigIntegerTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.CollectionTypeAdapterFactory;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.CollectionTypeAdapterFactory;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.DateTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.DateTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.ExcludedTypeAdapterFactory;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ExcludedTypeAdapterFactory;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.JsonElementReader;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.JsonElementReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.JsonElementWriter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.JsonElementWriter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.MapTypeAdapterFactory;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MapTypeAdapterFactory;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.MiniGson;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MiniGson;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.ObjectTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ObjectTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.ReflectiveTypeAdapterFactory;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ReflectiveTypeAdapterFactory;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.SqlDateTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.SqlDateTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TimeTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TimeTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapters;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapters;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
|
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
|
||||||
|
|
||||||
import java.io.EOFException;
|
import java.io.EOFException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -95,7 +95,7 @@ import java.util.Map;
|
|||||||
* <p>See the <a href="https://sites.google.com/site/gson/gson-user-guide">Gson User Guide</a>
|
* <p>See the <a href="https://sites.google.com/site/gson/gson-user-guide">Gson User Guide</a>
|
||||||
* for a more complete set of examples.</p>
|
* for a more complete set of examples.</p>
|
||||||
*
|
*
|
||||||
* @see com.massivecraft.mcore1.lib.gson.reflect.TypeToken
|
* @see com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken
|
||||||
*
|
*
|
||||||
* @author Inderjeet Singh
|
* @author Inderjeet Singh
|
||||||
* @author Joel Leitch
|
* @author Joel Leitch
|
||||||
@ -158,10 +158,10 @@ public final class Gson {
|
|||||||
* ignores the millisecond portion of the date during serialization. You can change
|
* ignores the millisecond portion of the date during serialization. You can change
|
||||||
* this by invoking {@link GsonBuilder#setDateFormat(int)} or
|
* this by invoking {@link GsonBuilder#setDateFormat(int)} or
|
||||||
* {@link GsonBuilder#setDateFormat(String)}. </li>
|
* {@link GsonBuilder#setDateFormat(String)}. </li>
|
||||||
* <li>By default, Gson ignores the {@link com.massivecraft.mcore1.lib.gson.annotations.Expose} annotation.
|
* <li>By default, Gson ignores the {@link com.massivecraft.mcore2dev.lib.gson.annotations.Expose} annotation.
|
||||||
* You can enable Gson to serialize/deserialize only those fields marked with this annotation
|
* You can enable Gson to serialize/deserialize only those fields marked with this annotation
|
||||||
* through {@link GsonBuilder#excludeFieldsWithoutExposeAnnotation()}. </li>
|
* through {@link GsonBuilder#excludeFieldsWithoutExposeAnnotation()}. </li>
|
||||||
* <li>By default, Gson ignores the {@link com.massivecraft.mcore1.lib.gson.annotations.Since} annotation. You
|
* <li>By default, Gson ignores the {@link com.massivecraft.mcore2dev.lib.gson.annotations.Since} annotation. You
|
||||||
* can enable Gson to use this annotation through {@link GsonBuilder#setVersion(double)}.</li>
|
* can enable Gson to use this annotation through {@link GsonBuilder#setVersion(double)}.</li>
|
||||||
* <li>The default field naming policy for the output Json is same as in Java. So, a Java class
|
* <li>The default field naming policy for the output Json is same as in Java. So, a Java class
|
||||||
* field <code>versionNumber</code> will be output as <code>"versionNumber@quot;</code> in
|
* field <code>versionNumber</code> will be output as <code>"versionNumber@quot;</code> in
|
||||||
@ -392,7 +392,7 @@ public final class Gson {
|
|||||||
*
|
*
|
||||||
* @param src the object for which JSON representation is to be created
|
* @param src the object for which JSON representation is to be created
|
||||||
* @param typeOfSrc The specific genericized type of src. You can obtain
|
* @param typeOfSrc The specific genericized type of src. You can obtain
|
||||||
* this type by using the {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example,
|
* this type by using the {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example,
|
||||||
* to get the type for {@code Collection<Foo>}, you should use:
|
* to get the type for {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
||||||
@ -435,7 +435,7 @@ public final class Gson {
|
|||||||
*
|
*
|
||||||
* @param src the object for which JSON representation is to be created
|
* @param src the object for which JSON representation is to be created
|
||||||
* @param typeOfSrc The specific genericized type of src. You can obtain
|
* @param typeOfSrc The specific genericized type of src. You can obtain
|
||||||
* this type by using the {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example,
|
* this type by using the {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example,
|
||||||
* to get the type for {@code Collection<Foo>}, you should use:
|
* to get the type for {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
||||||
@ -477,7 +477,7 @@ public final class Gson {
|
|||||||
*
|
*
|
||||||
* @param src the object for which JSON representation is to be created
|
* @param src the object for which JSON representation is to be created
|
||||||
* @param typeOfSrc The specific genericized type of src. You can obtain
|
* @param typeOfSrc The specific genericized type of src. You can obtain
|
||||||
* this type by using the {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example,
|
* this type by using the {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example,
|
||||||
* to get the type for {@code Collection<Foo>}, you should use:
|
* to get the type for {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfSrc = new TypeToken<Collection<Foo>>(){}.getType();
|
||||||
@ -619,7 +619,7 @@ public final class Gson {
|
|||||||
* @param <T> the type of the desired object
|
* @param <T> the type of the desired object
|
||||||
* @param json the string from which the object is to be deserialized
|
* @param json the string from which the object is to be deserialized
|
||||||
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
* {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
||||||
* {@code Collection<Foo>}, you should use:
|
* {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
||||||
@ -672,7 +672,7 @@ public final class Gson {
|
|||||||
* @param <T> the type of the desired object
|
* @param <T> the type of the desired object
|
||||||
* @param json the reader producing Json from which the object is to be deserialized
|
* @param json the reader producing Json from which the object is to be deserialized
|
||||||
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
* {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
||||||
* {@code Collection<Foo>}, you should use:
|
* {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
||||||
@ -769,7 +769,7 @@ public <T> T fromJson(Reader json, Type typeOfT) throws JsonIOException, JsonSyn
|
|||||||
* @param json the root of the parse tree of {@link JsonElement}s from which the object is to
|
* @param json the root of the parse tree of {@link JsonElement}s from which the object is to
|
||||||
* be deserialized
|
* be deserialized
|
||||||
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
* @param typeOfT The specific genericized type of src. You can obtain this type by using the
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
* {@link com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken} class. For example, to get the type for
|
||||||
* {@code Collection<Foo>}, you should use:
|
* {@code Collection<Foo>}, you should use:
|
||||||
* <pre>
|
* <pre>
|
||||||
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
* Type typeOfT = new TypeToken<Collection<Foo>>(){}.getType();
|
@ -14,13 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.DefaultTypeAdapters.DefaultDateTypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.DefaultTypeAdapters.DefaultDateTypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ParameterizedTypeHandlerMap;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Primitives;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Primitives;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
@ -178,7 +178,7 @@ public final class GsonBuilder {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures Gson to exclude all fields from consideration for serialization or deserialization
|
* Configures Gson to exclude all fields from consideration for serialization or deserialization
|
||||||
* that do not have the {@link com.massivecraft.mcore1.lib.gson.annotations.Expose} annotation.
|
* that do not have the {@link com.massivecraft.mcore2dev.lib.gson.annotations.Expose} annotation.
|
||||||
*
|
*
|
||||||
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
|
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
|
||||||
*/
|
*/
|
@ -13,15 +13,15 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ParameterizedTypeHandlerMap;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.MiniGson;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MiniGson;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This exception is raised when Gson was unable to read an input stream
|
* This exception is raised when Gson was unable to read an input stream
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A class representing a Json {@code null} value.
|
* A class representing a Json {@code null} value.
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This exception is raised if there is a serious issue that occurs during parsing of a Json
|
* This exception is raised if there is a serious issue that occurs during parsing of a Json
|
@ -13,12 +13,12 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
|
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
|
||||||
|
|
||||||
import java.io.EOFException;
|
import java.io.EOFException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.LazilyParsedNumber;
|
import com.massivecraft.mcore2dev.lib.gson.internal.LazilyParsedNumber;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
@ -14,14 +14,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface representing a custom serializer for Json. You should write a custom serializer, if
|
* Interface representing a custom serializer for Json. You should write a custom serializer, if
|
||||||
* you are not happy with the default serialization done by Gson. You will also need to register
|
* you are not happy with the default serialization done by Gson. You will also need to register
|
||||||
* this serializer through {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#registerTypeAdapter(Type, Object)}.
|
* this serializer through {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#registerTypeAdapter(Type, Object)}.
|
||||||
*
|
*
|
||||||
* <p>Let us look at example where defining a serializer will be useful. The {@code Id} class
|
* <p>Let us look at example where defining a serializer will be useful. The {@code Id} class
|
||||||
* defined below has two fields: {@code clazz} and {@code value}.</p>
|
* defined below has two fields: {@code clazz} and {@code value}.</p>
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.io.EOFException;
|
import java.io.EOFException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -22,10 +22,10 @@ import java.io.StringReader;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
|
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A streaming parser that allows reading of multiple {@link JsonElement}s from the specified reader
|
* A streaming parser that allows reading of multiple {@link JsonElement}s from the specified reader
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This exception is raised when Gson attempts to read (or write) a malformed
|
* This exception is raised when Gson attempts to read (or write) a malformed
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the expected format for a {@code long} or {@code Long} type when its serialized.
|
* Defines the expected format for a {@code long} or {@code Long} type when its serialized.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of only
|
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of only
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
|
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,13 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.annotations.SerializedName;
|
import com.massivecraft.mcore2dev.lib.gson.annotations.SerializedName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link FieldNamingStrategy2} that acts as a chain of responsibility. If the
|
* A {@link FieldNamingStrategy2} that acts as a chain of responsibility. If the
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.annotations.SerializedName} annotation is applied to a
|
* {@link com.massivecraft.mcore2dev.lib.gson.annotations.SerializedName} annotation is applied to a
|
||||||
* field then this strategy will translate the name to the {@code
|
* field then this strategy will translate the name to the {@code
|
||||||
* serializedName.value()}; otherwise it delegates to the wrapped
|
* serializedName.value()}; otherwise it delegates to the wrapped
|
||||||
* {@link FieldNamingStrategy2}.
|
* {@link FieldNamingStrategy2}.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A data object that stores attributes of a field.
|
* A data object that stores attributes of a field.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of mixed
|
* A {@link FieldNamingStrategy2} that ensures the JSON field names consist of mixed
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import java.lang.annotation.Annotation;
|
import java.lang.annotation.Annotation;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class contain all constants for versioning support.
|
* Class contain all constants for versioning support.
|
@ -14,11 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson;
|
package com.massivecraft.mcore2dev.lib.gson;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.annotations.Since;
|
import com.massivecraft.mcore2dev.lib.gson.annotations.Since;
|
||||||
import com.massivecraft.mcore1.lib.gson.annotations.Until;
|
import com.massivecraft.mcore2dev.lib.gson.annotations.Until;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This strategy will exclude any files and/or class that are passed the
|
* This strategy will exclude any files and/or class that are passed the
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.annotations;
|
package com.massivecraft.mcore2dev.lib.gson.annotations;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -25,9 +25,9 @@ import java.lang.annotation.Target;
|
|||||||
* An annotation that indicates this member should be exposed for JSON
|
* An annotation that indicates this member should be exposed for JSON
|
||||||
* serialization or deserialization.
|
* serialization or deserialization.
|
||||||
*
|
*
|
||||||
* <p>This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson}
|
* <p>This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson}
|
||||||
* with a {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
|
* with a {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#excludeFieldsWithoutExposeAnnotation()}
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#excludeFieldsWithoutExposeAnnotation()}
|
||||||
* method.</p>
|
* method.</p>
|
||||||
*
|
*
|
||||||
* <p>Here is an example of how this annotation is meant to be used:
|
* <p>Here is an example of how this annotation is meant to be used:
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.annotations;
|
package com.massivecraft.mcore2dev.lib.gson.annotations;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -25,10 +25,10 @@ import java.lang.annotation.Target;
|
|||||||
* An annotation that indicates this member should be serialized to JSON with
|
* An annotation that indicates this member should be serialized to JSON with
|
||||||
* the provided name value as its field name.
|
* the provided name value as its field name.
|
||||||
*
|
*
|
||||||
* <p>This annotation will override any {@link com.massivecraft.mcore1.lib.gson.FieldNamingPolicy}, including
|
* <p>This annotation will override any {@link com.massivecraft.mcore2dev.lib.gson.FieldNamingPolicy}, including
|
||||||
* the default field naming policy, that may have been set on the {@link com.massivecraft.mcore1.lib.gson.Gson}
|
* the default field naming policy, that may have been set on the {@link com.massivecraft.mcore2dev.lib.gson.Gson}
|
||||||
* instance. A different naming policy can set using the {@code GsonBuilder} class. See
|
* instance. A different naming policy can set using the {@code GsonBuilder} class. See
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#setFieldNamingPolicy(com.massivecraft.mcore1.lib.gson.FieldNamingPolicy)}
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#setFieldNamingPolicy(com.massivecraft.mcore2dev.lib.gson.FieldNamingPolicy)}
|
||||||
* for more information.</p>
|
* for more information.</p>
|
||||||
*
|
*
|
||||||
* <p>Here is an example of how this annotation is meant to be used:</p>
|
* <p>Here is an example of how this annotation is meant to be used:</p>
|
||||||
@ -58,7 +58,7 @@ import java.lang.annotation.Target;
|
|||||||
*
|
*
|
||||||
* <p>NOTE: The value you specify in this annotation must be a valid JSON field name.</p>
|
* <p>NOTE: The value you specify in this annotation must be a valid JSON field name.</p>
|
||||||
*
|
*
|
||||||
* @see com.massivecraft.mcore1.lib.gson.FieldNamingPolicy
|
* @see com.massivecraft.mcore2dev.lib.gson.FieldNamingPolicy
|
||||||
*
|
*
|
||||||
* @author Inderjeet Singh
|
* @author Inderjeet Singh
|
||||||
* @author Joel Leitch
|
* @author Joel Leitch
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.annotations;
|
package com.massivecraft.mcore2dev.lib.gson.annotations;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -26,9 +26,9 @@ import java.lang.annotation.Target;
|
|||||||
* This annotation is useful to manage versioning of your Json classes for a web-service.
|
* This annotation is useful to manage versioning of your Json classes for a web-service.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson} with a
|
* This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson} with a
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#setVersion(double)} method.
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#setVersion(double)} method.
|
||||||
*
|
*
|
||||||
* <p>Here is an example of how this annotation is meant to be used:</p>
|
* <p>Here is an example of how this annotation is meant to be used:</p>
|
||||||
* <pre>
|
* <pre>
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.annotations;
|
package com.massivecraft.mcore2dev.lib.gson.annotations;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -28,9 +28,9 @@ import java.lang.annotation.Target;
|
|||||||
* is useful to manage versioning of your JSON classes for a web-service.
|
* is useful to manage versioning of your JSON classes for a web-service.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson} with a
|
* This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson} with a
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
|
||||||
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#setVersion(double)} method.
|
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#setVersion(double)} method.
|
||||||
*
|
*
|
||||||
* <p>Here is an example of how this annotation is meant to be used:</p>
|
* <p>Here is an example of how this annotation is meant to be used:</p>
|
||||||
* <pre>
|
* <pre>
|
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* This package provides annotations that can be used with {@link com.massivecraft.mcore1.lib.gson.Gson}.
|
* This package provides annotations that can be used with {@link com.massivecraft.mcore2dev.lib.gson.Gson}.
|
||||||
*
|
*
|
||||||
* @author Inderjeet Singh, Joel Leitch
|
* @author Inderjeet Singh, Joel Leitch
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson.annotations;
|
package com.massivecraft.mcore2dev.lib.gson.annotations;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple utility class used to check method Preconditions.
|
* A simple utility class used to check method Preconditions.
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import static com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions.checkArgument;
|
import static com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions.checkArgument;
|
||||||
import static com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions.checkNotNull;
|
import static com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions.checkNotNull;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.InstanceCreator;
|
import com.massivecraft.mcore2dev.lib.gson.InstanceCreator;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a generic object construction factory. The purpose of this class
|
* Defines a generic object construction factory. The purpose of this class
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple object that holds onto a pair of object references, first and second.
|
* A simple object that holds onto a pair of object references, first and second.
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
@ -14,17 +14,17 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonElement;
|
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonIOException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonIOException;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonNull;
|
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonParseException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonParseException;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapters;
|
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapters;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
|
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
|
||||||
|
|
||||||
import java.io.EOFException;
|
import java.io.EOFException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal;
|
package com.massivecraft.mcore2dev.lib.gson.internal;
|
||||||
|
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
||||||
import java.io.ObjectStreamClass;
|
import java.io.ObjectStreamClass;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
||||||
@ -23,11 +23,11 @@ import java.lang.reflect.Type;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Types;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adapt an array of objects.
|
* Adapt an array of objects.
|
@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
@ -14,15 +14,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Types;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ConstructorConstructor;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ObjectConstructor;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ObjectConstructor;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
@ -14,13 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.ExclusionStrategy;
|
import com.massivecraft.mcore2dev.lib.gson.ExclusionStrategy;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
@ -14,15 +14,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonArray;
|
import com.massivecraft.mcore2dev.lib.gson.JsonArray;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonElement;
|
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonNull;
|
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonObject;
|
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
|
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
@ -14,14 +14,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonArray;
|
import com.massivecraft.mcore2dev.lib.gson.JsonArray;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonElement;
|
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonNull;
|
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonObject;
|
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
|
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.Writer;
|
import java.io.Writer;
|
@ -14,19 +14,19 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.massivecraft.mcore1.lib.gson.internal.bind;
|
package com.massivecraft.mcore2dev.lib.gson.internal.bind;
|
||||||
|
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonElement;
|
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
|
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
|
||||||
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
|
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Types;
|
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ConstructorConstructor;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.ObjectConstructor;
|
import com.massivecraft.mcore2dev.lib.gson.internal.ObjectConstructor;
|
||||||
import com.massivecraft.mcore1.lib.gson.internal.Streams;
|
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
|
||||||
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
|
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
|
||||||
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
|
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user