Added inventory gson type adapter as well as some other derp.
This commit is contained in:
parent
6ffb71676b
commit
9f246386db
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
0
plugin.yml
Executable file → Normal file
0
plugin.yml
Executable file → Normal file
0
src/com/massivecraft/core/Lang.java
Executable file → Normal file
0
src/com/massivecraft/core/Lang.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/AnonymousAndLocalClassExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/AnonymousAndLocalClassExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/Cache.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/Cache.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/CamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/CamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/CompositionFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/CompositionFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/DefaultTypeAdapters.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/DefaultTypeAdapters.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/DisjunctionExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/DisjunctionExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExposeAnnotationDeserializationExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExposeAnnotationDeserializationExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExposeAnnotationSerializationExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ExposeAnnotationSerializationExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldAttributes.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldAttributes.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy2.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy2.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy2Adapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/FieldNamingStrategy2Adapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/Gson.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/Gson.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/GsonBuilder.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/GsonBuilder.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/GsonToMiniGsonTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/GsonToMiniGsonTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/InnerClassExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/InnerClassExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/InstanceCreator.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/InstanceCreator.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JavaFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JavaFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonArray.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonArray.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializationContext.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializationContext.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializer.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializer.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializerExceptionWrapper.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonDeserializerExceptionWrapper.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonElement.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonElement.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonElementVisitor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonElementVisitor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonIOException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonIOException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonNull.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonNull.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonObject.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonObject.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonParseException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonParseException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonParser.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonParser.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonPrimitive.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonPrimitive.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSerializationContext.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSerializationContext.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSerializer.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSerializer.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonStreamParser.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonStreamParser.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSyntaxException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/JsonSyntaxException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LongSerializationPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LongSerializationPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LowerCamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LowerCamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LowerCaseNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LowerCaseNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LruCache.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/LruCache.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ModifierBasedExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ModifierBasedExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ModifyFirstLetterNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/ModifyFirstLetterNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/RecursiveFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/RecursiveFieldNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/SerializedNameAnnotationInterceptingNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/SerializedNameAnnotationInterceptingNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/SyntheticFieldExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/SyntheticFieldExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/UpperCamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/UpperCamelCaseSeparatorNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/UpperCaseNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/UpperCaseNamingPolicy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/VersionConstants.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/VersionConstants.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/VersionExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/VersionExclusionStrategy.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Expose.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Expose.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/SerializedName.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/SerializedName.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Since.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Since.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Until.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/Until.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/annotations/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/$Gson$Preconditions.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/$Gson$Preconditions.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/$Gson$Types.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/$Gson$Types.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ConstructorConstructor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ConstructorConstructor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/LazilyParsedNumber.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/LazilyParsedNumber.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ObjectConstructor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ObjectConstructor.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Pair.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Pair.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ParameterizedTypeHandlerMap.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/ParameterizedTypeHandlerMap.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Primitives.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Primitives.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Streams.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/Streams.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/UnsafeAllocator.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/UnsafeAllocator.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ArrayTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ArrayTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/BigDecimalTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/BigDecimalTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/BigIntegerTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/BigIntegerTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/CollectionTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/CollectionTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/DateTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/DateTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ExcludedTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ExcludedTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/JsonElementReader.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/JsonElementReader.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/JsonElementWriter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/JsonElementWriter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/MapTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/MapTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/MiniGson.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/MiniGson.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ObjectTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ObjectTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/Reflection.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/Reflection.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ReflectiveTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/ReflectiveTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/SqlDateTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/SqlDateTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/StringToValueMapTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/StringToValueMapTypeAdapterFactory.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TimeTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TimeTypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapterRuntimeTypeWrapper.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapterRuntimeTypeWrapper.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapters.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/bind/TypeAdapters.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/internal/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/reflect/TypeToken.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/reflect/TypeToken.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/reflect/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/reflect/package-info.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonReader.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonReader.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonScope.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonScope.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonToken.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonToken.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonWriter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/JsonWriter.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/MalformedJsonException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/MalformedJsonException.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/StringPool.java
Executable file → Normal file
0
src/com/massivecraft/core/lib/gson2/stream/StringPool.java
Executable file → Normal file
2
src/com/massivecraft/core/persist/Entity.java
Executable file → Normal file
2
src/com/massivecraft/core/persist/Entity.java
Executable file → Normal file
@ -6,7 +6,7 @@ package com.massivecraft.core.persist;
|
||||
* Entity class. It just contains a set of shortcut methods.
|
||||
*/
|
||||
|
||||
// Self referencing generics using the "getThis trick".
|
||||
// Self referencing generic using the "getThis trick".
|
||||
// http://www.angelikalanger.com/GenericsFAQ/FAQSections/ProgrammingIdioms.html#FAQ206
|
||||
public abstract class Entity<T extends Entity<T>>
|
||||
{
|
||||
|
0
src/com/massivecraft/core/persist/IClassManager.java
Executable file → Normal file
0
src/com/massivecraft/core/persist/IClassManager.java
Executable file → Normal file
0
src/com/massivecraft/core/persist/Persist.java
Executable file → Normal file
0
src/com/massivecraft/core/persist/Persist.java
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user