public final class ProxyUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getClassName(Class<?> currentClass)
Returns the 'real' class name of the proxy by returning the super class name of the proxy.
|
static Class<?> |
getUnproxiedClass(Class<?> currentClass)
Returns the 'real' Class of the proxy by returning the superclass of the proxy.
|
static boolean |
isProxiedClass(Class<?> currentClass)
Test whether the class is a proxy class by inspecting the name.
|
public static Class<?> getUnproxiedClass(Class<?> currentClass)
currentClass - Class to get 'real' class from.public static String getClassName(Class<?> currentClass)
currentClass - Class to get 'real' class name from.public static boolean isProxiedClass(Class<?> currentClass)
currentClass - Class to testCopyright © 2014–2018. All rights reserved.