cglib/src/main/java/net/sf/cglib/proxy/Enhancer.java
public static boolean isEnhanced(Class type) {
        try {
            getCallbacksSetter(type, SET_THREAD_CALLBACKS_NAME);
            return true;
        } catch (NoSuchMethodException e) {
            return false;
        }
    }
public static boolean isEnhanced(Class type) {
        try {
            getCallbacksSetter(type, SET_THREAD_CALLBACKS_NAME);
            return true;
        } catch (NoSuchMethodException e) {
            return false;
        }
    }
public static boolean isEnhanced ( Class type ) { try { getCallbacksSetter ( type , SET_THREAD_CALLBACKS_NAME ) ; return true ; } catch ( NoSuchMethodException e ) { return false ; } }
Determine if a class was generated using <code>Enhancer</code>.
@param type any class
@return whether the class was generated  using <code>Enhancer</code>
Determine if a class was generated using <code > Enhancer< / code > .