Browse Source

CGLIB升级

research/11.0
richie 6 years ago
parent
commit
21dfaf147c
  1. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanCopier.java
  2. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanGenerator.java
  3. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanMap.java
  4. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanMapEmitter.java
  5. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BulkBean.java
  6. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/BulkBeanEmitter.java
  7. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/beans/ImmutableBean.java
  8. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/core/Constants.java
  9. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/core/DefaultNamingPolicy.java
  10. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/core/KeyFactory.java
  11. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/core/NamingPolicy.java
  12. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/CallbackGenerator.java
  13. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/DispatcherGenerator.java
  14. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/Enhancer.java
  15. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/FixedValueGenerator.java
  16. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/InterfaceMaker.java
  17. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/InvocationHandlerGenerator.java
  18. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/LazyLoaderGenerator.java
  19. 8
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/MethodInterceptorGenerator.java
  20. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/Mixin.java
  21. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/MixinEmitter.java
  22. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/proxy/NoOpGenerator.java
  23. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/reflect/ConstructorDelegate.java
  24. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/reflect/FastClass.java
  25. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/reflect/FastClassEmitter.java
  26. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/reflect/MethodDelegate.java
  27. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/reflect/MulticastDelegate.java
  28. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AccessFieldTransformer.java
  29. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddDelegateTransformer.java
  30. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddPropertyTransformer.java
  31. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddStaticInitTransformer.java
  32. 6
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/FieldProviderTransformer.java
  33. 8
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/InterceptFieldTransformer.java
  34. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/UndeclaredThrowableTransformer.java
  35. 2
      fine-cglib/src/com/fr/third/net/sf/cglib/util/ParallelSorter.java
  36. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/util/ParallelSorterEmitter.java
  37. 4
      fine-cglib/src/com/fr/third/net/sf/cglib/util/StringSwitcher.java

6
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanCopier.java

@ -31,7 +31,7 @@ import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
import java.util.*; import java.util.*;
@ -44,9 +44,9 @@ abstract public class BeanCopier
private static final BeanCopierKey KEY_FACTORY = private static final BeanCopierKey KEY_FACTORY =
(BeanCopierKey) KeyFactory.create(BeanCopierKey.class); (BeanCopierKey) KeyFactory.create(BeanCopierKey.class);
private static final Type CONVERTER = private static final Type CONVERTER =
TypeUtils.parseType("net.sf.cglib.core.Converter"); TypeUtils.parseType("com.fr.third.net.sf.cglib.core.Converter");
private static final Type BEAN_COPIER = private static final Type BEAN_COPIER =
TypeUtils.parseType("net.sf.cglib.beans.BeanCopier"); TypeUtils.parseType("com.fr.third.net.sf.cglib.beans.BeanCopier");
private static final Signature COPY = private static final Signature COPY =
new Signature("copy", Type.VOID_TYPE, new Type[]{ Constants.TYPE_OBJECT, Constants.TYPE_OBJECT, CONVERTER }); new Signature("copy", Type.VOID_TYPE, new Type[]{ Constants.TYPE_OBJECT, Constants.TYPE_OBJECT, CONVERTER });
private static final Signature CONVERT = private static final Signature CONVERT =

2
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanGenerator.java

@ -25,7 +25,7 @@ import com.fr.third.net.sf.cglib.core.Constants;
import com.fr.third.net.sf.cglib.core.EmitUtils; import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.KeyFactory; import com.fr.third.net.sf.cglib.core.KeyFactory;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;

2
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanMap.java

@ -21,7 +21,7 @@ import java.util.*;
import com.fr.third.net.sf.cglib.core.AbstractClassGenerator; import com.fr.third.net.sf.cglib.core.AbstractClassGenerator;
import com.fr.third.net.sf.cglib.core.KeyFactory; import com.fr.third.net.sf.cglib.core.KeyFactory;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
/** /**

6
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BeanMapEmitter.java

@ -27,16 +27,16 @@ import com.fr.third.net.sf.cglib.core.ObjectSwitchCallback;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
class BeanMapEmitter extends ClassEmitter { class BeanMapEmitter extends ClassEmitter {
private static final Type BEAN_MAP = private static final Type BEAN_MAP =
TypeUtils.parseType("net.sf.cglib.beans.BeanMap"); TypeUtils.parseType("com.fr.third.net.sf.cglib.beans.BeanMap");
private static final Type FIXED_KEY_SET = private static final Type FIXED_KEY_SET =
TypeUtils.parseType("net.sf.cglib.beans.FixedKeySet"); TypeUtils.parseType("com.fr.third.net.sf.cglib.beans.FixedKeySet");
private static final Signature CSTRUCT_OBJECT = private static final Signature CSTRUCT_OBJECT =
TypeUtils.parseConstructor("Object"); TypeUtils.parseConstructor("Object");
private static final Signature CSTRUCT_STRING_ARRAY = private static final Signature CSTRUCT_STRING_ARRAY =

2
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BulkBean.java

@ -20,7 +20,7 @@ import java.security.ProtectionDomain;
import com.fr.third.net.sf.cglib.core.AbstractClassGenerator; import com.fr.third.net.sf.cglib.core.AbstractClassGenerator;
import com.fr.third.net.sf.cglib.core.KeyFactory; import com.fr.third.net.sf.cglib.core.KeyFactory;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
/** /**

6
fine-cglib/src/com/fr/third/net/sf/cglib/beans/BulkBeanEmitter.java

@ -28,7 +28,7 @@ import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -40,9 +40,9 @@ class BulkBeanEmitter extends ClassEmitter {
private static final Signature CSTRUCT_EXCEPTION = private static final Signature CSTRUCT_EXCEPTION =
TypeUtils.parseConstructor("Throwable, int"); TypeUtils.parseConstructor("Throwable, int");
private static final Type BULK_BEAN = private static final Type BULK_BEAN =
TypeUtils.parseType("net.sf.cglib.beans.BulkBean"); TypeUtils.parseType("com.fr.third.net.sf.cglib.beans.BulkBean");
private static final Type BULK_BEAN_EXCEPTION = private static final Type BULK_BEAN_EXCEPTION =
TypeUtils.parseType("net.sf.cglib.beans.BulkBeanException"); TypeUtils.parseType("com.fr.third.net.sf.cglib.beans.BulkBeanException");
public BulkBeanEmitter(ClassVisitor v, public BulkBeanEmitter(ClassVisitor v,
String className, String className,

2
fine-cglib/src/com/fr/third/net/sf/cglib/beans/ImmutableBean.java

@ -28,7 +28,7 @@ import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
/** /**

2
fine-cglib/src/com/fr/third/net/sf/cglib/core/Constants.java

@ -56,7 +56,7 @@ public interface Constants extends com.fr.third.org.objectweb.asm.Opcodes {
public static final Type TYPE_RUNTIME_EXCEPTION = TypeUtils.parseType("RuntimeException"); public static final Type TYPE_RUNTIME_EXCEPTION = TypeUtils.parseType("RuntimeException");
public static final Type TYPE_ERROR = TypeUtils.parseType("Error"); public static final Type TYPE_ERROR = TypeUtils.parseType("Error");
public static final Type TYPE_SYSTEM = TypeUtils.parseType("System"); public static final Type TYPE_SYSTEM = TypeUtils.parseType("System");
public static final Type TYPE_SIGNATURE = TypeUtils.parseType("net.sf.cglib.core.Signature"); public static final Type TYPE_SIGNATURE = TypeUtils.parseType("com.fr.third.net.sf.cglib.core.Signature");
public static final Type TYPE_TYPE = Type.getType(Type.class); public static final Type TYPE_TYPE = Type.getType(Type.class);
public static final String CONSTRUCTOR_NAME = "<init>"; public static final String CONSTRUCTOR_NAME = "<init>";

4
fine-cglib/src/com/fr/third/net/sf/cglib/core/DefaultNamingPolicy.java

@ -31,11 +31,11 @@ public class DefaultNamingPolicy implements NamingPolicy {
/** /**
* This allows to test collisions of {@code key.hashCode()}. * This allows to test collisions of {@code key.hashCode()}.
*/ */
private final static boolean STRESS_HASH_CODE = Boolean.getBoolean("net.sf.cglib.test.stressHashCodes"); private final static boolean STRESS_HASH_CODE = Boolean.getBoolean("com.fr.third.net.sf.cglib.test.stressHashCodes");
public String getClassName(String prefix, String source, Object key, Predicate names) { public String getClassName(String prefix, String source, Object key, Predicate names) {
if (prefix == null) { if (prefix == null) {
prefix = "net.sf.cglib.empty.Object"; prefix = "com.fr.third.net.sf.cglib.empty.Object";
} else if (prefix.startsWith("java")) { } else if (prefix.startsWith("java")) {
prefix = "$" + prefix; prefix = "$" + prefix;
} }

2
fine-cglib/src/com/fr/third/net/sf/cglib/core/KeyFactory.java

@ -69,7 +69,7 @@ abstract public class KeyFactory {
private static final Signature APPEND_STRING = private static final Signature APPEND_STRING =
TypeUtils.parseSignature("StringBuffer append(String)"); TypeUtils.parseSignature("StringBuffer append(String)");
private static final Type KEY_FACTORY = private static final Type KEY_FACTORY =
TypeUtils.parseType("net.sf.cglib.core.KeyFactory"); TypeUtils.parseType("com.fr.third.net.sf.cglib.core.KeyFactory");
private static final Signature GET_SORT = private static final Signature GET_SORT =
TypeUtils.parseSignature("int getSort()"); TypeUtils.parseSignature("int getSort()");

2
fine-cglib/src/com/fr/third/net/sf/cglib/core/NamingPolicy.java

@ -22,7 +22,7 @@ public interface NamingPolicy {
/** /**
* Choose a name for a generated class. * Choose a name for a generated class.
* @param prefix a dotted-name chosen by the generating class (possibly to put the generated class in a particular package) * @param prefix a dotted-name chosen by the generating class (possibly to put the generated class in a particular package)
* @param source the fully-qualified class name of the generating class (for example "net.sf.cglib.Enhancer") * @param source the fully-qualified class name of the generating class (for example "com.fr.third.net.sf.cglib.Enhancer")
* @param key A key object representing the state of the parameters; for caching to work properly, equal keys should result * @param key A key object representing the state of the parameters; for caching to work properly, equal keys should result
* in the same generated class name. The default policy incorporates <code>key.hashCode()</code> into the class name. * in the same generated class name. The default policy incorporates <code>key.hashCode()</code> into the class name.
* @param names a predicate that returns true if the given classname has already been used in the same ClassLoader. * @param names a predicate that returns true if the given classname has already been used in the same ClassLoader.

2
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/CallbackGenerator.java

@ -21,7 +21,7 @@ import com.fr.third.net.sf.cglib.core.ClassEmitter;
import com.fr.third.net.sf.cglib.core.CodeEmitter; import com.fr.third.net.sf.cglib.core.CodeEmitter;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
interface CallbackGenerator interface CallbackGenerator
{ {

6
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/DispatcherGenerator.java

@ -22,7 +22,7 @@ import com.fr.third.net.sf.cglib.core.CodeEmitter;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
class DispatcherGenerator implements CallbackGenerator { class DispatcherGenerator implements CallbackGenerator {
@ -32,9 +32,9 @@ class DispatcherGenerator implements CallbackGenerator {
new DispatcherGenerator(true); new DispatcherGenerator(true);
private static final Type DISPATCHER = private static final Type DISPATCHER =
TypeUtils.parseType("net.sf.cglib.proxy.Dispatcher"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.Dispatcher");
private static final Type PROXY_REF_DISPATCHER = private static final Type PROXY_REF_DISPATCHER =
TypeUtils.parseType("net.sf.cglib.proxy.ProxyRefDispatcher"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.ProxyRefDispatcher");
private static final Signature LOAD_OBJECT = private static final Signature LOAD_OBJECT =
TypeUtils.parseSignature("Object loadObject()"); TypeUtils.parseSignature("Object loadObject()");
private static final Signature PROXY_REF_LOAD_OBJECT = private static final Signature PROXY_REF_LOAD_OBJECT =

6
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/Enhancer.java

@ -45,7 +45,7 @@ import com.fr.third.net.sf.cglib.core.Transformer;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.core.VisibilityPredicate; import com.fr.third.net.sf.cglib.core.VisibilityPredicate;
import com.fr.third.net.sf.cglib.core.WeakCacheKey; import com.fr.third.net.sf.cglib.core.WeakCacheKey;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
@ -115,7 +115,7 @@ public class Enhancer extends AbstractClassGenerator
private static final Type OBJECT_TYPE = private static final Type OBJECT_TYPE =
TypeUtils.parseType("Object"); TypeUtils.parseType("Object");
private static final Type FACTORY = private static final Type FACTORY =
TypeUtils.parseType("net.sf.cglib.proxy.Factory"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.Factory");
private static final Type ILLEGAL_STATE_EXCEPTION = private static final Type ILLEGAL_STATE_EXCEPTION =
TypeUtils.parseType("IllegalStateException"); TypeUtils.parseType("IllegalStateException");
private static final Type ILLEGAL_ARGUMENT_EXCEPTION = private static final Type ILLEGAL_ARGUMENT_EXCEPTION =
@ -123,7 +123,7 @@ public class Enhancer extends AbstractClassGenerator
private static final Type THREAD_LOCAL = private static final Type THREAD_LOCAL =
TypeUtils.parseType("ThreadLocal"); TypeUtils.parseType("ThreadLocal");
private static final Type CALLBACK = private static final Type CALLBACK =
TypeUtils.parseType("net.sf.cglib.proxy.Callback"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.Callback");
private static final Type CALLBACK_ARRAY = private static final Type CALLBACK_ARRAY =
Type.getType(Callback[].class); Type.getType(Callback[].class);
private static final Signature CSTRUCT_NULL = private static final Signature CSTRUCT_NULL =

4
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/FixedValueGenerator.java

@ -22,13 +22,13 @@ import com.fr.third.net.sf.cglib.core.CodeEmitter;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
class FixedValueGenerator implements CallbackGenerator { class FixedValueGenerator implements CallbackGenerator {
public static final FixedValueGenerator INSTANCE = new FixedValueGenerator(); public static final FixedValueGenerator INSTANCE = new FixedValueGenerator();
private static final Type FIXED_VALUE = private static final Type FIXED_VALUE =
TypeUtils.parseType("net.sf.cglib.proxy.FixedValue"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.FixedValue");
private static final Signature LOAD_OBJECT = private static final Signature LOAD_OBJECT =
TypeUtils.parseSignature("Object loadObject()"); TypeUtils.parseSignature("Object loadObject()");

2
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/InterfaceMaker.java

@ -23,7 +23,7 @@ import com.fr.third.net.sf.cglib.core.ClassEmitter;
import com.fr.third.net.sf.cglib.core.Constants; import com.fr.third.net.sf.cglib.core.Constants;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;

6
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/InvocationHandlerGenerator.java

@ -23,7 +23,7 @@ import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import java.util.*; import java.util.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -33,9 +33,9 @@ implements CallbackGenerator
public static final InvocationHandlerGenerator INSTANCE = new InvocationHandlerGenerator(); public static final InvocationHandlerGenerator INSTANCE = new InvocationHandlerGenerator();
private static final Type INVOCATION_HANDLER = private static final Type INVOCATION_HANDLER =
TypeUtils.parseType("net.sf.cglib.proxy.InvocationHandler"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.InvocationHandler");
private static final Type UNDECLARED_THROWABLE_EXCEPTION = private static final Type UNDECLARED_THROWABLE_EXCEPTION =
TypeUtils.parseType("net.sf.cglib.proxy.UndeclaredThrowableException"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.UndeclaredThrowableException");
private static final Type METHOD = private static final Type METHOD =
TypeUtils.parseType("java.lang.reflect.Method"); TypeUtils.parseType("java.lang.reflect.Method");
private static final Signature INVOKE = private static final Signature INVOKE =

4
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/LazyLoaderGenerator.java

@ -23,7 +23,7 @@ import com.fr.third.net.sf.cglib.core.Constants;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -33,7 +33,7 @@ class LazyLoaderGenerator implements CallbackGenerator {
private static final Signature LOAD_OBJECT = private static final Signature LOAD_OBJECT =
TypeUtils.parseSignature("Object loadObject()"); TypeUtils.parseSignature("Object loadObject()");
private static final Type LAZY_LOADER = private static final Type LAZY_LOADER =
TypeUtils.parseType("net.sf.cglib.proxy.LazyLoader"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.LazyLoader");
public void generate(ClassEmitter ce, Context context, List methods) { public void generate(ClassEmitter ce, Context context, List methods) {
Set indexes = new HashSet(); Set indexes = new HashSet();

8
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/MethodInterceptorGenerator.java

@ -29,7 +29,7 @@ import com.fr.third.net.sf.cglib.core.ObjectSwitchCallback;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.Transformer; import com.fr.third.net.sf.cglib.core.Transformer;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -47,11 +47,11 @@ implements CallbackGenerator
private static final Type METHOD = private static final Type METHOD =
TypeUtils.parseType("java.lang.reflect.Method"); TypeUtils.parseType("java.lang.reflect.Method");
private static final Type REFLECT_UTILS = private static final Type REFLECT_UTILS =
TypeUtils.parseType("net.sf.cglib.core.ReflectUtils"); TypeUtils.parseType("com.fr.third.net.sf.cglib.core.ReflectUtils");
private static final Type METHOD_PROXY = private static final Type METHOD_PROXY =
TypeUtils.parseType("net.sf.cglib.proxy.MethodProxy"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.MethodProxy");
private static final Type METHOD_INTERCEPTOR = private static final Type METHOD_INTERCEPTOR =
TypeUtils.parseType("net.sf.cglib.proxy.MethodInterceptor"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.MethodInterceptor");
private static final Signature GET_DECLARED_METHODS = private static final Signature GET_DECLARED_METHODS =
TypeUtils.parseSignature("java.lang.reflect.Method[] getDeclaredMethods()"); TypeUtils.parseSignature("java.lang.reflect.Method[] getDeclaredMethods()");
private static final Signature GET_DECLARING_CLASS = private static final Signature GET_DECLARING_CLASS =

2
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/Mixin.java

@ -22,7 +22,7 @@ import com.fr.third.net.sf.cglib.core.AbstractClassGenerator;
import com.fr.third.net.sf.cglib.core.ClassesKey; import com.fr.third.net.sf.cglib.core.ClassesKey;
import com.fr.third.net.sf.cglib.core.KeyFactory; import com.fr.third.net.sf.cglib.core.KeyFactory;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;

4
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/MixinEmitter.java

@ -27,7 +27,7 @@ import com.fr.third.net.sf.cglib.core.MethodWrapper;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -40,7 +40,7 @@ class MixinEmitter extends ClassEmitter {
private static final Signature CSTRUCT_OBJECT_ARRAY = private static final Signature CSTRUCT_OBJECT_ARRAY =
TypeUtils.parseConstructor("Object[]"); TypeUtils.parseConstructor("Object[]");
private static final Type MIXIN = private static final Type MIXIN =
TypeUtils.parseType("net.sf.cglib.proxy.Mixin"); TypeUtils.parseType("com.fr.third.net.sf.cglib.proxy.Mixin");
private static final Signature NEW_INSTANCE = private static final Signature NEW_INSTANCE =
new Signature("newInstance", MIXIN, new Type[]{ Constants.TYPE_OBJECT_ARRAY }); new Signature("newInstance", MIXIN, new Type[]{ Constants.TYPE_OBJECT_ARRAY });

2
fine-cglib/src/com/fr/third/net/sf/cglib/proxy/NoOpGenerator.java

@ -23,7 +23,7 @@ import com.fr.third.net.sf.cglib.core.CodeEmitter;
import com.fr.third.net.sf.cglib.core.EmitUtils; import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.MethodInfo; import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
class NoOpGenerator class NoOpGenerator
implements CallbackGenerator implements CallbackGenerator

4
fine-cglib/src/com/fr/third/net/sf/cglib/reflect/ConstructorDelegate.java

@ -26,7 +26,7 @@ import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.KeyFactory; import com.fr.third.net.sf.cglib.core.KeyFactory;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -55,7 +55,7 @@ abstract public class ConstructorDelegate {
public static class Generator extends AbstractClassGenerator { public static class Generator extends AbstractClassGenerator {
private static final Source SOURCE = new Source(ConstructorDelegate.class.getName()); private static final Source SOURCE = new Source(ConstructorDelegate.class.getName());
private static final Type CONSTRUCTOR_DELEGATE = private static final Type CONSTRUCTOR_DELEGATE =
TypeUtils.parseType("net.sf.cglib.reflect.ConstructorDelegate"); TypeUtils.parseType("com.fr.third.net.sf.cglib.reflect.ConstructorDelegate");
private Class iface; private Class iface;
private Class targetClass; private Class targetClass;

2
fine-cglib/src/com/fr/third/net/sf/cglib/reflect/FastClass.java

@ -19,7 +19,7 @@ import com.fr.third.net.sf.cglib.core.AbstractClassGenerator;
import com.fr.third.net.sf.cglib.core.Constants; import com.fr.third.net.sf.cglib.core.Constants;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method; import java.lang.reflect.Method;

4
fine-cglib/src/com/fr/third/net/sf/cglib/reflect/FastClassEmitter.java

@ -34,7 +34,7 @@ import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.Transformer; import com.fr.third.net.sf.cglib.core.Transformer;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.core.VisibilityPredicate; import com.fr.third.net.sf.cglib.core.VisibilityPredicate;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -59,7 +59,7 @@ class FastClassEmitter extends ClassEmitter {
private static final Signature GET_SIGNATURE_WITHOUT_RETURN_TYPE = private static final Signature GET_SIGNATURE_WITHOUT_RETURN_TYPE =
TypeUtils.parseSignature("String getSignatureWithoutReturnType(String, Class[])"); TypeUtils.parseSignature("String getSignatureWithoutReturnType(String, Class[])");
private static final Type FAST_CLASS = private static final Type FAST_CLASS =
TypeUtils.parseType("net.sf.cglib.reflect.FastClass"); TypeUtils.parseType("com.fr.third.net.sf.cglib.reflect.FastClass");
private static final Type ILLEGAL_ARGUMENT_EXCEPTION = private static final Type ILLEGAL_ARGUMENT_EXCEPTION =
TypeUtils.parseType("IllegalArgumentException"); TypeUtils.parseType("IllegalArgumentException");
private static final Type INVOCATION_TARGET_EXCEPTION = private static final Type INVOCATION_TARGET_EXCEPTION =

6
fine-cglib/src/com/fr/third/net/sf/cglib/reflect/MethodDelegate.java

@ -28,8 +28,8 @@ import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.*; import com.fr.third.net.sf.cglib.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -161,7 +161,7 @@ abstract public class MethodDelegate {
public static class Generator extends AbstractClassGenerator { public static class Generator extends AbstractClassGenerator {
private static final Source SOURCE = new Source(MethodDelegate.class.getName()); private static final Source SOURCE = new Source(MethodDelegate.class.getName());
private static final Type METHOD_DELEGATE = private static final Type METHOD_DELEGATE =
TypeUtils.parseType("net.sf.cglib.reflect.MethodDelegate"); TypeUtils.parseType("com.fr.third.net.sf.cglib.reflect.MethodDelegate");
private static final Signature NEW_INSTANCE = private static final Signature NEW_INSTANCE =
new Signature("newInstance", METHOD_DELEGATE, new Type[]{ Constants.TYPE_OBJECT }); new Signature("newInstance", METHOD_DELEGATE, new Type[]{ Constants.TYPE_OBJECT });

4
fine-cglib/src/com/fr/third/net/sf/cglib/reflect/MulticastDelegate.java

@ -29,7 +29,7 @@ import com.fr.third.net.sf.cglib.core.ProcessArrayCallback;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -77,7 +77,7 @@ abstract public class MulticastDelegate implements Cloneable {
public static class Generator extends AbstractClassGenerator { public static class Generator extends AbstractClassGenerator {
private static final Source SOURCE = new Source(MulticastDelegate.class.getName()); private static final Source SOURCE = new Source(MulticastDelegate.class.getName());
private static final Type MULTICAST_DELEGATE = private static final Type MULTICAST_DELEGATE =
TypeUtils.parseType("net.sf.cglib.reflect.MulticastDelegate"); TypeUtils.parseType("com.fr.third.net.sf.cglib.reflect.MulticastDelegate");
private static final Signature NEW_INSTANCE = private static final Signature NEW_INSTANCE =
new Signature("newInstance", MULTICAST_DELEGATE, new Type[0]); new Signature("newInstance", MULTICAST_DELEGATE, new Type[0]);
private static final Signature ADD_DELEGATE = private static final Signature ADD_DELEGATE =

4
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AccessFieldTransformer.java

@ -20,8 +20,8 @@ import com.fr.third.net.sf.cglib.core.Constants;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
public class AccessFieldTransformer extends ClassEmitterTransformer { public class AccessFieldTransformer extends ClassEmitterTransformer {

4
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddDelegateTransformer.java

@ -22,10 +22,10 @@ import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import java.lang.reflect.*; import java.lang.reflect.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
/** /**

4
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddPropertyTransformer.java

@ -18,9 +18,9 @@ package com.fr.third.net.sf.cglib.transform.impl;
import com.fr.third.net.sf.cglib.core.EmitUtils; import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import java.util.*; import java.util.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
public class AddPropertyTransformer extends ClassEmitterTransformer { public class AddPropertyTransformer extends ClassEmitterTransformer {

4
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/AddStaticInitTransformer.java

@ -24,8 +24,8 @@ import com.fr.third.net.sf.cglib.core.MethodInfo;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
/** /**

6
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/FieldProviderTransformer.java

@ -24,9 +24,9 @@ import com.fr.third.net.sf.cglib.core.ProcessSwitchCallback;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import java.util.*; import java.util.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -36,7 +36,7 @@ public class FieldProviderTransformer extends ClassEmitterTransformer {
private static final String FIELD_TYPES = "CGLIB$FIELD_TYPES"; private static final String FIELD_TYPES = "CGLIB$FIELD_TYPES";
private static final Type FIELD_PROVIDER = private static final Type FIELD_PROVIDER =
TypeUtils.parseType("net.sf.cglib.transform.impl.FieldProvider"); TypeUtils.parseType("com.fr.third.net.sf.cglib.transform.impl.FieldProvider");
private static final Type ILLEGAL_ARGUMENT_EXCEPTION = private static final Type ILLEGAL_ARGUMENT_EXCEPTION =
TypeUtils.parseType("IllegalArgumentException"); TypeUtils.parseType("IllegalArgumentException");
private static final Signature PROVIDER_GET = private static final Signature PROVIDER_GET =

8
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/InterceptFieldTransformer.java

@ -21,8 +21,8 @@ import com.fr.third.net.sf.cglib.core.Local;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -32,9 +32,9 @@ import com.fr.third.org.objectweb.asm.Type;
public class InterceptFieldTransformer extends ClassEmitterTransformer { public class InterceptFieldTransformer extends ClassEmitterTransformer {
private static final String CALLBACK_FIELD = "$CGLIB_READ_WRITE_CALLBACK"; private static final String CALLBACK_FIELD = "$CGLIB_READ_WRITE_CALLBACK";
private static final Type CALLBACK = private static final Type CALLBACK =
TypeUtils.parseType("net.sf.cglib.transform.impl.InterceptFieldCallback"); TypeUtils.parseType("com.fr.third.net.sf.cglib.transform.impl.InterceptFieldCallback");
private static final Type ENABLED = private static final Type ENABLED =
TypeUtils.parseType("net.sf.cglib.transform.impl.InterceptFieldEnabled"); TypeUtils.parseType("com.fr.third.net.sf.cglib.transform.impl.InterceptFieldEnabled");
private static final Signature ENABLED_SET = private static final Signature ENABLED_SET =
new Signature("setInterceptFieldCallback", Type.VOID_TYPE, new Type[]{ CALLBACK }); new Signature("setInterceptFieldCallback", Type.VOID_TYPE, new Type[]{ CALLBACK });
private static final Signature ENABLED_GET = private static final Signature ENABLED_GET =

4
fine-cglib/src/com/fr/third/net/sf/cglib/transform/impl/UndeclaredThrowableTransformer.java

@ -24,8 +24,8 @@ import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer; import com.fr.third.net.sf.cglib.transform.ClassEmitterTransformer;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import net.sf.cglib.transform.*; import com.fr.third.net.sf.cglib.transform.*;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
public class UndeclaredThrowableTransformer extends ClassEmitterTransformer { public class UndeclaredThrowableTransformer extends ClassEmitterTransformer {

2
fine-cglib/src/com/fr/third/net/sf/cglib/util/ParallelSorter.java

@ -20,7 +20,7 @@ import java.util.Comparator;
import com.fr.third.net.sf.cglib.core.AbstractClassGenerator; import com.fr.third.net.sf.cglib.core.AbstractClassGenerator;
import com.fr.third.net.sf.cglib.core.ClassesKey; import com.fr.third.net.sf.cglib.core.ClassesKey;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
/** /**

4
fine-cglib/src/com/fr/third/net/sf/cglib/util/ParallelSorterEmitter.java

@ -22,13 +22,13 @@ import com.fr.third.net.sf.cglib.core.EmitUtils;
import com.fr.third.net.sf.cglib.core.Local; import com.fr.third.net.sf.cglib.core.Local;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
class ParallelSorterEmitter extends ClassEmitter { class ParallelSorterEmitter extends ClassEmitter {
private static final Type PARALLEL_SORTER = private static final Type PARALLEL_SORTER =
TypeUtils.parseType("net.sf.cglib.util.ParallelSorter"); TypeUtils.parseType("com.fr.third.net.sf.cglib.util.ParallelSorter");
private static final Signature CSTRUCT_OBJECT_ARRAY = private static final Signature CSTRUCT_OBJECT_ARRAY =
TypeUtils.parseConstructor("Object[]"); TypeUtils.parseConstructor("Object[]");
private static final Signature NEW_INSTANCE = private static final Signature NEW_INSTANCE =

4
fine-cglib/src/com/fr/third/net/sf/cglib/util/StringSwitcher.java

@ -27,7 +27,7 @@ import com.fr.third.net.sf.cglib.core.ObjectSwitchCallback;
import com.fr.third.net.sf.cglib.core.ReflectUtils; import com.fr.third.net.sf.cglib.core.ReflectUtils;
import com.fr.third.net.sf.cglib.core.Signature; import com.fr.third.net.sf.cglib.core.Signature;
import com.fr.third.net.sf.cglib.core.TypeUtils; import com.fr.third.net.sf.cglib.core.TypeUtils;
import net.sf.cglib.core.*; import com.fr.third.net.sf.cglib.core.*;
import com.fr.third.org.objectweb.asm.ClassVisitor; import com.fr.third.org.objectweb.asm.ClassVisitor;
import com.fr.third.org.objectweb.asm.Label; import com.fr.third.org.objectweb.asm.Label;
import com.fr.third.org.objectweb.asm.Type; import com.fr.third.org.objectweb.asm.Type;
@ -37,7 +37,7 @@ import com.fr.third.org.objectweb.asm.Type;
*/ */
abstract public class StringSwitcher { abstract public class StringSwitcher {
private static final Type STRING_SWITCHER = private static final Type STRING_SWITCHER =
TypeUtils.parseType("net.sf.cglib.util.StringSwitcher"); TypeUtils.parseType("com.fr.third.net.sf.cglib.util.StringSwitcher");
private static final Signature INT_VALUE = private static final Signature INT_VALUE =
TypeUtils.parseSignature("int intValue(String)"); TypeUtils.parseSignature("int intValue(String)");
private static final StringSwitcherKey KEY_FACTORY = private static final StringSwitcherKey KEY_FACTORY =

Loading…
Cancel
Save