From ea823e58f7c3b5bac590057338b4b0a5f246334b Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Thu, 27 Sep 2012 05:28:13 +0200 Subject: [PATCH] Move structure modifier compiler to the reflect package. --- ProtocolLib/src/com/comphenix/protocol/ProtocolLibrary.java | 2 +- .../src/com/comphenix/protocol/reflect/StructureModifier.java | 2 +- .../protocol/{ => reflect}/compiler/BackgroundCompiler.java | 2 +- .../comphenix/protocol/{ => reflect}/compiler/BoxingHelper.java | 2 +- .../{ => reflect}/compiler/CompiledStructureModifier.java | 2 +- .../protocol/{ => reflect}/compiler/MethodDescriptor.java | 2 +- .../protocol/{ => reflect}/compiler/StructureCompiler.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename ProtocolLib/src/com/comphenix/protocol/{ => reflect}/compiler/BackgroundCompiler.java (95%) rename ProtocolLib/src/com/comphenix/protocol/{ => reflect}/compiler/BoxingHelper.java (95%) rename ProtocolLib/src/com/comphenix/protocol/{ => reflect}/compiler/CompiledStructureModifier.java (92%) rename ProtocolLib/src/com/comphenix/protocol/{ => reflect}/compiler/MethodDescriptor.java (96%) rename ProtocolLib/src/com/comphenix/protocol/{ => reflect}/compiler/StructureCompiler.java (97%) diff --git a/ProtocolLib/src/com/comphenix/protocol/ProtocolLibrary.java b/ProtocolLib/src/com/comphenix/protocol/ProtocolLibrary.java index 39075681..a0d3ce00 100644 --- a/ProtocolLib/src/com/comphenix/protocol/ProtocolLibrary.java +++ b/ProtocolLib/src/com/comphenix/protocol/ProtocolLibrary.java @@ -25,9 +25,9 @@ import org.bukkit.Server; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; -import com.comphenix.protocol.compiler.BackgroundCompiler; import com.comphenix.protocol.injector.PacketFilterManager; import com.comphenix.protocol.metrics.Statistics; +import com.comphenix.protocol.reflect.compiler.BackgroundCompiler; public class ProtocolLibrary extends JavaPlugin { diff --git a/ProtocolLib/src/com/comphenix/protocol/reflect/StructureModifier.java b/ProtocolLib/src/com/comphenix/protocol/reflect/StructureModifier.java index d79733b2..d62ef3cc 100644 --- a/ProtocolLib/src/com/comphenix/protocol/reflect/StructureModifier.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/StructureModifier.java @@ -25,7 +25,7 @@ import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import com.comphenix.protocol.compiler.BackgroundCompiler; +import com.comphenix.protocol.reflect.compiler.BackgroundCompiler; import com.comphenix.protocol.reflect.instances.DefaultInstances; import com.google.common.base.Function; import com.google.common.collect.ImmutableList; diff --git a/ProtocolLib/src/com/comphenix/protocol/compiler/BackgroundCompiler.java b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.java similarity index 95% rename from ProtocolLib/src/com/comphenix/protocol/compiler/BackgroundCompiler.java rename to ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.java index 313593ab..7bf702ab 100644 --- a/ProtocolLib/src/com/comphenix/protocol/compiler/BackgroundCompiler.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.java @@ -1,4 +1,4 @@ -package com.comphenix.protocol.compiler; +package com.comphenix.protocol.reflect.compiler; import java.util.Map; import java.util.concurrent.Callable; diff --git a/ProtocolLib/src/com/comphenix/protocol/compiler/BoxingHelper.java b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BoxingHelper.java similarity index 95% rename from ProtocolLib/src/com/comphenix/protocol/compiler/BoxingHelper.java rename to ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BoxingHelper.java index 3692381e..06d043a1 100644 --- a/ProtocolLib/src/com/comphenix/protocol/compiler/BoxingHelper.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/BoxingHelper.java @@ -1,4 +1,4 @@ -package com.comphenix.protocol.compiler; +package com.comphenix.protocol.reflect.compiler; import net.sf.cglib.asm.*; diff --git a/ProtocolLib/src/com/comphenix/protocol/compiler/CompiledStructureModifier.java b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.java similarity index 92% rename from ProtocolLib/src/com/comphenix/protocol/compiler/CompiledStructureModifier.java rename to ProtocolLib/src/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.java index 570a06b6..5ddb19f8 100644 --- a/ProtocolLib/src/com/comphenix/protocol/compiler/CompiledStructureModifier.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.java @@ -1,4 +1,4 @@ -package com.comphenix.protocol.compiler; +package com.comphenix.protocol.reflect.compiler; import java.lang.reflect.Field; import java.util.Map; diff --git a/ProtocolLib/src/com/comphenix/protocol/compiler/MethodDescriptor.java b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/MethodDescriptor.java similarity index 96% rename from ProtocolLib/src/com/comphenix/protocol/compiler/MethodDescriptor.java rename to ProtocolLib/src/com/comphenix/protocol/reflect/compiler/MethodDescriptor.java index 4f5e8c5c..b1aa1260 100644 --- a/ProtocolLib/src/com/comphenix/protocol/compiler/MethodDescriptor.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/MethodDescriptor.java @@ -1,4 +1,4 @@ -package com.comphenix.protocol.compiler; +package com.comphenix.protocol.reflect.compiler; import java.util.HashMap; import java.util.Map; diff --git a/ProtocolLib/src/com/comphenix/protocol/compiler/StructureCompiler.java b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/StructureCompiler.java similarity index 97% rename from ProtocolLib/src/com/comphenix/protocol/compiler/StructureCompiler.java rename to ProtocolLib/src/com/comphenix/protocol/reflect/compiler/StructureCompiler.java index f79a949b..c1a2136e 100644 --- a/ProtocolLib/src/com/comphenix/protocol/compiler/StructureCompiler.java +++ b/ProtocolLib/src/com/comphenix/protocol/reflect/compiler/StructureCompiler.java @@ -1,4 +1,4 @@ -package com.comphenix.protocol.compiler; +package com.comphenix.protocol.reflect.compiler; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException;