public class ProxyClassSignatureHelper extends Object
| Constructor and Description |
|---|
ProxyClassSignatureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJavaClassSignature(Class<?> clazz) |
static Map<String,String> |
getNonSyntheticSignatureMap(Class<?> clazz) |
static boolean |
isDifferent(Class<?>[] classesA,
Class<?>[] classesB)
Class arrays need to be in the same order.
|
static boolean |
isNonSyntheticPoolClassOrParentDifferent(Class<?> classBeingRedefined,
ClassPool cp)
Checks if the CtClass or one of its parents signature differs from the one already loaded by Java.
|
static boolean |
isPoolClassDifferent(Class<?> clazz,
ClassPool cp) |
static boolean |
isPoolClassOrParentDifferent(Class<?> clazz,
ClassLoader cp)
Checks if the Class or one of its parents signature differs from the one in the classloader.
|
static boolean |
isPoolClassOrParentDifferent(Class<?> clazz,
ClassPool cp)
Checks if the CtClass or one of its parents signature differs from the one already loaded by Java.
|
static boolean |
isPoolClassOrParentDifferent(Class<?> clazz,
CtClass cc)
Checks if the CtClass or one of its parents signature differs from the one already loaded by Java.
|
public static String getJavaClassSignature(Class<?> clazz) throws Exception
Exceptionpublic static Map<String,String> getNonSyntheticSignatureMap(Class<?> clazz)
public static boolean isPoolClassOrParentDifferent(Class<?> clazz, ClassPool cp)
clazz - cp - public static boolean isNonSyntheticPoolClassOrParentDifferent(Class<?> classBeingRedefined, ClassPool cp)
classBeingRedefined - cp - public static boolean isPoolClassOrParentDifferent(Class<?> clazz, CtClass cc)
clazz - cc - public static boolean isDifferent(Class<?>[] classesA, Class<?>[] classesB)
classesA - classesB - public static boolean isPoolClassOrParentDifferent(Class<?> clazz, ClassLoader cp)
clazz - cp - Copyright © 2018. All rights reserved.