Moving fuzzy reflection "framework" to a seperate package.

This commit is contained in:
Kristian S. Stangeland 2013-02-03 02:07:23 +01:00
parent ab5bc1fd25
commit d583f7ccc3
10 changed files with 18 additions and 14 deletions

View File

@ -27,6 +27,7 @@ import java.util.List;
import java.util.Set;
import java.util.regex.Pattern;
import com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher;
import com.google.common.collect.Lists;
/**

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import com.google.common.primitives.Ints;

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import java.lang.reflect.Member;
import java.util.regex.Pattern;

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
/**
* Used to check class equality.

View File

@ -1,10 +1,12 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import com.comphenix.protocol.reflect.FuzzyReflection;
import com.comphenix.protocol.reflect.MethodInfo;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import java.lang.reflect.Field;
import java.util.regex.Pattern;

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import java.lang.reflect.Member;
import java.util.Set;

View File

@ -1,4 +1,4 @@
package com.comphenix.protocol.reflect;
package com.comphenix.protocol.reflect.fuzzy;
import java.util.Collections;
import java.util.List;
@ -8,6 +8,7 @@ import javax.annotation.Nonnull;
import org.apache.commons.lang.NotImplementedException;
import com.comphenix.protocol.reflect.MethodInfo;
import com.google.common.collect.Lists;
/**

View File

@ -2,8 +2,8 @@ package com.comphenix.protocol.reflect.instances;
import javax.annotation.Nullable;
import com.comphenix.protocol.reflect.AbstractFuzzyMatcher;
import com.comphenix.protocol.reflect.FuzzyMatchers;
import com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher;
import com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers;
/**
* Generator that ensures certain types will never be created.

View File

@ -38,12 +38,12 @@ import org.bukkit.Server;
import org.bukkit.inventory.ItemStack;
import com.comphenix.protocol.injector.BukkitUnwrapper;
import com.comphenix.protocol.reflect.AbstractFuzzyMatcher;
import com.comphenix.protocol.reflect.FuzzyClassContract;
import com.comphenix.protocol.reflect.FuzzyMatchers;
import com.comphenix.protocol.reflect.FuzzyFieldContract;
import com.comphenix.protocol.reflect.FuzzyMethodContract;
import com.comphenix.protocol.reflect.FuzzyReflection;
import com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher;
import com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract;
import com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract;
import com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers;
import com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract;
import com.comphenix.protocol.wrappers.WrappedDataWatcher;
import com.google.common.base.Joiner;