Renamed to mcore2dev

This commit is contained in:
Olof Larsson 2012-01-25 16:20:19 +01:00
parent 0a350f5126
commit af388effea
136 changed files with 433 additions and 434 deletions

View File

@ -22,5 +22,4 @@ Read more about our plugin developent team at [MassiveCraft.com/plugins](http://
License
----------
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).

View File

@ -1,6 +1,6 @@
name: mcore1
name: mcore2dev
version: 1.0.0
main: com.massivecraft.mcore1.MCore
main: com.massivecraft.mcore2dev.MCore
authors: [Olof Larsson, Brett Flannigan]
commands:
mcoresilenteater:

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1;
package com.massivecraft.mcore2dev;
import org.bukkit.Bukkit;
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.server.ServerCommandEvent;
import com.massivecraft.mcore1.persist.IClassManager;
import com.massivecraft.mcore1.persist.Persist;
import com.massivecraft.mcore1.util.PlayerUtil;
import com.massivecraft.mcore2dev.persist.IClassManager;
import com.massivecraft.mcore2dev.persist.Persist;
import com.massivecraft.mcore2dev.util.PlayerUtil;
public class InternalListener implements Listener
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1;
package com.massivecraft.mcore2dev;
public class Lang
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1;
package com.massivecraft.mcore2dev;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
@ -13,13 +13,13 @@ import java.util.logging.Logger;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.massivecraft.mcore1.cmd.Cmd;
import com.massivecraft.mcore1.lib.gson.GsonBuilder;
import com.massivecraft.mcore1.persist.One;
import com.massivecraft.mcore1.persist.Persist;
import com.massivecraft.mcore1.util.LibLoader;
import com.massivecraft.mcore1.util.PlayerUtil;
import com.massivecraft.mcore1.util.Txt;
import com.massivecraft.mcore2dev.cmd.Cmd;
import com.massivecraft.mcore2dev.lib.gson.GsonBuilder;
import com.massivecraft.mcore2dev.persist.One;
import com.massivecraft.mcore2dev.persist.Persist;
import com.massivecraft.mcore2dev.util.LibLoader;
import com.massivecraft.mcore2dev.util.PlayerUtil;
import com.massivecraft.mcore2dev.util.Txt;
public class MCore extends JavaPlugin
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1;
package com.massivecraft.mcore2dev;
import java.util.logging.Level;
import java.util.logging.Logger;
@ -8,13 +8,13 @@ import org.bukkit.event.Event;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import com.massivecraft.mcore1.cmd.Cmd;
import com.massivecraft.mcore1.lib.gson.Gson;
import com.massivecraft.mcore1.lib.gson.GsonBuilder;
import com.massivecraft.mcore1.persist.One;
import com.massivecraft.mcore1.persist.Persist;
import com.massivecraft.mcore1.util.LibLoader;
import com.massivecraft.mcore1.util.Txt;
import com.massivecraft.mcore2dev.cmd.Cmd;
import com.massivecraft.mcore2dev.lib.gson.Gson;
import com.massivecraft.mcore2dev.lib.gson.GsonBuilder;
import com.massivecraft.mcore2dev.persist.One;
import com.massivecraft.mcore2dev.persist.Persist;
import com.massivecraft.mcore2dev.util.LibLoader;
import com.massivecraft.mcore2dev.util.Txt;
public abstract class MPlugin extends JavaPlugin

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1;
package com.massivecraft.mcore2dev;
public interface Predictate<T>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd;
package com.massivecraft.mcore2dev.cmd;
import java.util.HashMap;
import java.util.HashSet;
@ -11,14 +11,14 @@ import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.mcore1.cmd.arg.AHBoolean;
import com.massivecraft.mcore1.cmd.arg.AHDouble;
import com.massivecraft.mcore1.cmd.arg.AHFloat;
import com.massivecraft.mcore1.cmd.arg.AHInteger;
import com.massivecraft.mcore1.cmd.arg.AHMaterial;
import com.massivecraft.mcore1.cmd.arg.AHPlayer;
import com.massivecraft.mcore1.cmd.arg.AHWorld;
import com.massivecraft.mcore1.cmd.arg.IArgHandler;
import com.massivecraft.mcore2dev.cmd.arg.AHBoolean;
import com.massivecraft.mcore2dev.cmd.arg.AHDouble;
import com.massivecraft.mcore2dev.cmd.arg.AHFloat;
import com.massivecraft.mcore2dev.cmd.arg.AHInteger;
import com.massivecraft.mcore2dev.cmd.arg.AHMaterial;
import com.massivecraft.mcore2dev.cmd.arg.AHPlayer;
import com.massivecraft.mcore2dev.cmd.arg.AHWorld;
import com.massivecraft.mcore2dev.cmd.arg.IArgHandler;
public class Cmd
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore1.cmd;
package com.massivecraft.mcore2dev.cmd;
import java.util.ArrayList;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore1.cmd.MCommand;
import com.massivecraft.mcore1.util.Txt;
import com.massivecraft.mcore2dev.MPlugin;
import com.massivecraft.mcore2dev.cmd.MCommand;
import com.massivecraft.mcore2dev.util.Txt;
public class HelpCommand extends MCommand
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd;
package com.massivecraft.mcore2dev.cmd;
import java.util.*;
import java.util.Map.Entry;
@ -7,14 +7,14 @@ import java.util.logging.Level;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.mcore1.Lang;
import com.massivecraft.mcore1.MCore;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore1.cmd.arg.IArgHandler;
import com.massivecraft.mcore1.cmd.req.IReq;
import com.massivecraft.mcore1.cmd.req.ReqHasPerm;
import com.massivecraft.mcore1.util.Perm;
import com.massivecraft.mcore1.util.Txt;
import com.massivecraft.mcore2dev.Lang;
import com.massivecraft.mcore2dev.MCore;
import com.massivecraft.mcore2dev.MPlugin;
import com.massivecraft.mcore2dev.cmd.arg.IArgHandler;
import com.massivecraft.mcore2dev.cmd.req.IReq;
import com.massivecraft.mcore2dev.cmd.req.ReqHasPerm;
import com.massivecraft.mcore2dev.util.Perm;
import com.massivecraft.mcore2dev.util.Txt;
public abstract class MCommand
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd;
package com.massivecraft.mcore2dev.cmd;
public enum VisibilityMode
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import java.util.ArrayList;
import java.util.Collection;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public abstract class AHBase<T> implements IArgHandler<T>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
public class AHBoolean extends AHPrimitive<Boolean>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
public class AHDouble extends AHPrimitive<Double>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
public class AHFloat extends AHPrimitive<Float>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
public class AHInteger extends AHPrimitive<Integer>
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import org.bukkit.Material;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public class AHMaterial extends AHBase<Material>
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import java.util.List;
@ -6,7 +6,7 @@ import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public class AHPlayer extends AHBase<Player>
{

View File

@ -1,11 +1,11 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore1.persist.IClassManager;
import com.massivecraft.mcore1.persist.Persist;
import com.massivecraft.mcore1.util.PlayerUtil;
import com.massivecraft.mcore2dev.MPlugin;
import com.massivecraft.mcore2dev.persist.IClassManager;
import com.massivecraft.mcore2dev.persist.Persist;
import com.massivecraft.mcore2dev.util.PlayerUtil;
public abstract class AHPlayerWrapper<T> extends AHBase<T>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public abstract class AHPrimitive<T> extends AHBase<T>
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public class AHWorld extends AHBase<World>
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore1.cmd.arg;
package com.massivecraft.mcore2dev.cmd.arg;
import java.util.Collection;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.MPlugin;
import com.massivecraft.mcore2dev.MPlugin;
public interface IArgHandler<T>
{

View File

@ -1,8 +1,8 @@
package com.massivecraft.mcore1.cmd.req;
package com.massivecraft.mcore2dev.cmd.req;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.cmd.MCommand;
import com.massivecraft.mcore2dev.cmd.MCommand;
public interface IReq
{

View File

@ -1,9 +1,9 @@
package com.massivecraft.mcore1.cmd.req;
package com.massivecraft.mcore2dev.cmd.req;
import org.bukkit.command.CommandSender;
import com.massivecraft.mcore1.cmd.MCommand;
import com.massivecraft.mcore1.util.Perm;
import com.massivecraft.mcore2dev.cmd.MCommand;
import com.massivecraft.mcore2dev.util.Perm;
public class ReqHasPerm implements IReq
{

View File

@ -1,10 +1,10 @@
package com.massivecraft.mcore1.cmd.req;
package com.massivecraft.mcore2dev.cmd.req;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.massivecraft.mcore1.Lang;
import com.massivecraft.mcore1.cmd.MCommand;
import com.massivecraft.mcore2dev.Lang;
import com.massivecraft.mcore2dev.cmd.MCommand;
public class ReqIsPlayer implements IReq
{

View File

@ -1,4 +1,4 @@
package com.massivecraft.mcore1.gson;
package com.massivecraft.mcore2dev.gson;
import java.lang.reflect.Type;
import java.util.ArrayList;
@ -11,14 +11,14 @@ import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.getspout.spoutapi.SpoutManager;
import com.massivecraft.mcore1.lib.gson.JsonDeserializationContext;
import com.massivecraft.mcore1.lib.gson.JsonDeserializer;
import com.massivecraft.mcore1.lib.gson.JsonElement;
import com.massivecraft.mcore1.lib.gson.JsonObject;
import com.massivecraft.mcore1.lib.gson.JsonParseException;
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
import com.massivecraft.mcore1.lib.gson.JsonSerializationContext;
import com.massivecraft.mcore1.lib.gson.JsonSerializer;
import com.massivecraft.mcore2dev.lib.gson.JsonDeserializationContext;
import com.massivecraft.mcore2dev.lib.gson.JsonDeserializer;
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
import com.massivecraft.mcore2dev.lib.gson.JsonParseException;
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
import com.massivecraft.mcore2dev.lib.gson.JsonSerializationContext;
import com.massivecraft.mcore2dev.lib.gson.JsonSerializer;
public class InventoryTypeAdapter implements JsonDeserializer<Inventory>, JsonSerializer<Inventory>
{

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
/**
* Strategy for excluding anonymous and local classes.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
/**
* Defines generic cache interface.

View File

@ -14,9 +14,9 @@
* 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.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;
import java.sql.Timestamp;

View File

@ -14,9 +14,9 @@
* 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;

View File

@ -14,7 +14,7 @@
* 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

View File

@ -14,9 +14,9 @@
* 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

View File

@ -14,9 +14,9 @@
* 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

View File

@ -14,10 +14,10 @@
* 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.mcore1.lib.gson.internal.Pair;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
import com.massivecraft.mcore2dev.lib.gson.internal.Pair;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

View File

@ -14,12 +14,12 @@
* 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.
* This enumeration should be used in conjunction with {@link com.massivecraft.mcore1.lib.gson.GsonBuilder}
* to configure a {@link com.massivecraft.mcore1.lib.gson.Gson} instance to properly translate Java field
* This enumeration should be used in conjunction with {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder}
* to configure a {@link com.massivecraft.mcore2dev.lib.gson.Gson} instance to properly translate Java field
* names into the desired JSON field names.
*
* @author Inderjeet Singh

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Field;

View File

@ -14,7 +14,7 @@
* 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

View File

@ -14,9 +14,9 @@
* 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}

View File

@ -14,33 +14,33 @@
* 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.mcore1.lib.gson.internal.ParameterizedTypeHandlerMap;
import com.massivecraft.mcore1.lib.gson.internal.Primitives;
import com.massivecraft.mcore1.lib.gson.internal.Streams;
import com.massivecraft.mcore1.lib.gson.internal.bind.ArrayTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.BigDecimalTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.BigIntegerTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.CollectionTypeAdapterFactory;
import com.massivecraft.mcore1.lib.gson.internal.bind.DateTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.ExcludedTypeAdapterFactory;
import com.massivecraft.mcore1.lib.gson.internal.bind.JsonElementReader;
import com.massivecraft.mcore1.lib.gson.internal.bind.JsonElementWriter;
import com.massivecraft.mcore1.lib.gson.internal.bind.MapTypeAdapterFactory;
import com.massivecraft.mcore1.lib.gson.internal.bind.MiniGson;
import com.massivecraft.mcore1.lib.gson.internal.bind.ObjectTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.ReflectiveTypeAdapterFactory;
import com.massivecraft.mcore1.lib.gson.internal.bind.SqlDateTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.TimeTypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapters;
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
import com.massivecraft.mcore2dev.lib.gson.internal.Primitives;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ArrayTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.BigDecimalTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.BigIntegerTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.CollectionTypeAdapterFactory;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.DateTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ExcludedTypeAdapterFactory;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.JsonElementReader;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.JsonElementWriter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MapTypeAdapterFactory;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MiniGson;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ObjectTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.ReflectiveTypeAdapterFactory;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.SqlDateTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TimeTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapters;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
import java.io.EOFException;
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>
* 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 Joel Leitch
@ -158,10 +158,10 @@ public final class Gson {
* ignores the millisecond portion of the date during serialization. You can change
* this by invoking {@link GsonBuilder#setDateFormat(int)} or
* {@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
* 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>
* <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>&quot;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 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:
* <pre>
* Type typeOfSrc = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType();
@ -435,7 +435,7 @@ public final class Gson {
*
* @param src the object for which JSON representation is to be created
* @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:
* <pre>
* Type typeOfSrc = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType();
@ -477,7 +477,7 @@ public final class Gson {
*
* @param src the object for which JSON representation is to be created
* @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:
* <pre>
* Type typeOfSrc = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType();
@ -619,7 +619,7 @@ public final class Gson {
* @param <T> the type of the desired object
* @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
* {@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:
* <pre>
* Type typeOfT = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType();
@ -672,7 +672,7 @@ public final class Gson {
* @param <T> the type of the desired object
* @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
* {@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:
* <pre>
* Type typeOfT = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.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
* be deserialized
* @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:
* <pre>
* Type typeOfT = new TypeToken&lt;Collection&lt;Foo&gt;&gt;(){}.getType();

View File

@ -14,13 +14,13 @@
* 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.mcore1.lib.gson.internal.$Gson$Preconditions;
import com.massivecraft.mcore1.lib.gson.internal.ParameterizedTypeHandlerMap;
import com.massivecraft.mcore1.lib.gson.internal.Primitives;
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.DefaultTypeAdapters.DefaultDateTypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
import com.massivecraft.mcore2dev.lib.gson.internal.Primitives;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
import java.lang.reflect.Type;
import java.sql.Timestamp;
@ -178,7 +178,7 @@ public final class GsonBuilder {
/**
* 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
*/

View File

@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* 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.mcore1.lib.gson.internal.Streams;
import com.massivecraft.mcore1.lib.gson.internal.bind.MiniGson;
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapter;
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.internal.ParameterizedTypeHandlerMap;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.MiniGson;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapter;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Modifier;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.math.BigDecimal;
import java.math.BigInteger;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;

View File

@ -14,9 +14,9 @@
* 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;

View File

@ -14,10 +14,10 @@
* 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.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.io.StringWriter;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.io.IOException;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
/**
* A class representing a Json {@code null} value.

View File

@ -14,9 +14,9 @@
* 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.Map;

View File

@ -14,7 +14,7 @@
* 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

View File

@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* 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.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
import java.io.EOFException;
import java.io.IOException;

View File

@ -14,10 +14,10 @@
* 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.mcore1.lib.gson.internal.LazilyParsedNumber;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
import com.massivecraft.mcore2dev.lib.gson.internal.LazilyParsedNumber;
import java.math.BigDecimal;
import java.math.BigInteger;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;

View File

@ -14,14 +14,14 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.reflect.Type;
/**
* 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
* 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
* defined below has two fields: {@code clazz} and {@code value}.</p>

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.io.EOFException;
import java.io.IOException;
@ -22,10 +22,10 @@ import java.io.StringReader;
import java.util.Iterator;
import java.util.NoSuchElementException;
import com.massivecraft.mcore1.lib.gson.internal.Streams;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
/**
* A streaming parser that allows reading of multiple {@link JsonElement}s from the specified reader

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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

View File

@ -14,7 +14,7 @@
* 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.

View File

@ -14,7 +14,7 @@
* 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

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.util.LinkedHashMap;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.util.Collection;
import java.util.HashSet;

View File

@ -14,9 +14,9 @@
* 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.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -14,13 +14,13 @@
* 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
* {@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
* serializedName.value()}; otherwise it delegates to the wrapped
* {@link FieldNamingStrategy2}.

View File

@ -14,7 +14,7 @@
* 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.

View File

@ -14,7 +14,7 @@
* 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

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson;
package com.massivecraft.mcore2dev.lib.gson;
/**
* Class contain all constants for versioning support.

View File

@ -14,11 +14,11 @@
* 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.mcore1.lib.gson.annotations.Until;
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Preconditions;
import com.massivecraft.mcore2dev.lib.gson.annotations.Since;
import com.massivecraft.mcore2dev.lib.gson.annotations.Until;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions;
/**
* This strategy will exclude any files and/or class that are passed the

View File

@ -14,7 +14,7 @@
* 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.Retention;
@ -25,9 +25,9 @@ import java.lang.annotation.Target;
* An annotation that indicates this member should be exposed for JSON
* serialization or deserialization.
*
* <p>This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson}
* with a {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#excludeFieldsWithoutExposeAnnotation()}
* <p>This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson}
* with a {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder#excludeFieldsWithoutExposeAnnotation()}
* method.</p>
*
* <p>Here is an example of how this annotation is meant to be used:

View File

@ -14,7 +14,7 @@
* 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.Retention;
@ -25,10 +25,10 @@ import java.lang.annotation.Target;
* An annotation that indicates this member should be serialized to JSON with
* the provided name value as its field name.
*
* <p>This annotation will override any {@link com.massivecraft.mcore1.lib.gson.FieldNamingPolicy}, including
* the default field naming policy, that may have been set on the {@link com.massivecraft.mcore1.lib.gson.Gson}
* <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.mcore2dev.lib.gson.Gson}
* 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>
*
* <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>
*
* @see com.massivecraft.mcore1.lib.gson.FieldNamingPolicy
* @see com.massivecraft.mcore2dev.lib.gson.FieldNamingPolicy
*
* @author Inderjeet Singh
* @author Joel Leitch

View File

@ -14,7 +14,7 @@
* 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.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.
*
* <p>
* This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson} with a
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#setVersion(double)} method.
* This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson} with a
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
* {@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>
* <pre>

View File

@ -14,7 +14,7 @@
* 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.Retention;
@ -28,9 +28,9 @@ import java.lang.annotation.Target;
* is useful to manage versioning of your JSON classes for a web-service.
*
* <p>
* This annotation has no effect unless you build {@link com.massivecraft.mcore1.lib.gson.Gson} with a
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder} and invoke
* {@link com.massivecraft.mcore1.lib.gson.GsonBuilder#setVersion(double)} method.
* This annotation has no effect unless you build {@link com.massivecraft.mcore2dev.lib.gson.Gson} with a
* {@link com.massivecraft.mcore2dev.lib.gson.GsonBuilder} and invoke
* {@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>
* <pre>

View File

@ -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
*/
package com.massivecraft.mcore1.lib.gson.annotations;
package com.massivecraft.mcore2dev.lib.gson.annotations;

View File

@ -14,7 +14,7 @@
* 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.

View File

@ -14,10 +14,10 @@
* 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.mcore1.lib.gson.internal.$Gson$Preconditions.checkNotNull;
import static com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions.checkArgument;
import static com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Preconditions.checkNotNull;
import java.io.Serializable;
import java.lang.reflect.Array;

View File

@ -14,10 +14,10 @@
* 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.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.InstanceCreator;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.massivecraft.mcore1.lib.gson.internal;
package com.massivecraft.mcore2dev.lib.gson.internal;
import java.math.BigInteger;

View File

@ -14,7 +14,7 @@
* 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

View File

@ -14,7 +14,7 @@
* 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.

View File

@ -14,7 +14,7 @@
* 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.util.ArrayList;

View File

@ -14,10 +14,10 @@
* 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.util.Collections;

View File

@ -14,17 +14,17 @@
* 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.mcore1.lib.gson.JsonIOException;
import com.massivecraft.mcore1.lib.gson.JsonNull;
import com.massivecraft.mcore1.lib.gson.JsonParseException;
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore1.lib.gson.internal.bind.TypeAdapters;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore1.lib.gson.stream.MalformedJsonException;
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
import com.massivecraft.mcore2dev.lib.gson.JsonIOException;
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
import com.massivecraft.mcore2dev.lib.gson.JsonParseException;
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore2dev.lib.gson.internal.bind.TypeAdapters;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.stream.MalformedJsonException;
import java.io.EOFException;
import java.io.IOException;

View File

@ -14,7 +14,7 @@
* 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.ObjectStreamClass;

View File

@ -14,7 +14,7 @@
* 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.lang.reflect.Array;
@ -23,11 +23,11 @@ import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Types;
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
/**
* Adapt an array of objects.

View File

@ -14,12 +14,12 @@
* 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.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.math.BigDecimal;

View File

@ -14,12 +14,12 @@
* 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.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.math.BigInteger;

View File

@ -14,15 +14,15 @@
* 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.mcore1.lib.gson.internal.ConstructorConstructor;
import com.massivecraft.mcore1.lib.gson.internal.ObjectConstructor;
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
import com.massivecraft.mcore2dev.lib.gson.internal.ObjectConstructor;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.lang.reflect.Type;

View File

@ -14,13 +14,13 @@
* 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.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.text.DateFormat;

View File

@ -14,12 +14,12 @@
* 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.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.ExclusionStrategy;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;

View File

@ -14,15 +14,15 @@
* 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.mcore1.lib.gson.JsonElement;
import com.massivecraft.mcore1.lib.gson.JsonNull;
import com.massivecraft.mcore1.lib.gson.JsonObject;
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.JsonArray;
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import java.io.IOException;
import java.io.Reader;

View File

@ -14,14 +14,14 @@
* 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.mcore1.lib.gson.JsonElement;
import com.massivecraft.mcore1.lib.gson.JsonNull;
import com.massivecraft.mcore1.lib.gson.JsonObject;
import com.massivecraft.mcore1.lib.gson.JsonPrimitive;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.JsonArray;
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
import com.massivecraft.mcore2dev.lib.gson.JsonNull;
import com.massivecraft.mcore2dev.lib.gson.JsonObject;
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.io.Writer;

View File

@ -14,19 +14,19 @@
* 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.mcore1.lib.gson.JsonPrimitive;
import com.massivecraft.mcore1.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore1.lib.gson.internal.$Gson$Types;
import com.massivecraft.mcore1.lib.gson.internal.ConstructorConstructor;
import com.massivecraft.mcore1.lib.gson.internal.ObjectConstructor;
import com.massivecraft.mcore1.lib.gson.internal.Streams;
import com.massivecraft.mcore1.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonReader;
import com.massivecraft.mcore1.lib.gson.stream.JsonToken;
import com.massivecraft.mcore1.lib.gson.stream.JsonWriter;
import com.massivecraft.mcore2dev.lib.gson.JsonElement;
import com.massivecraft.mcore2dev.lib.gson.JsonPrimitive;
import com.massivecraft.mcore2dev.lib.gson.JsonSyntaxException;
import com.massivecraft.mcore2dev.lib.gson.internal.$Gson$Types;
import com.massivecraft.mcore2dev.lib.gson.internal.ConstructorConstructor;
import com.massivecraft.mcore2dev.lib.gson.internal.ObjectConstructor;
import com.massivecraft.mcore2dev.lib.gson.internal.Streams;
import com.massivecraft.mcore2dev.lib.gson.reflect.TypeToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonReader;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonToken;
import com.massivecraft.mcore2dev.lib.gson.stream.JsonWriter;
import java.io.IOException;
import java.lang.reflect.Type;

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