public final class CtUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasCustomSuperclass(javassist.CtClass ctClass)
Check if class has superclass other than
Object |
static boolean |
hasField(javassist.CtClass ctClass,
String fieldName)
Check if class has a field with the given name
|
public static boolean hasCustomSuperclass(javassist.CtClass ctClass)
ObjectctClass - the class to checkpublic static boolean hasField(javassist.CtClass ctClass,
String fieldName)
ctClass - the class to checkfieldName - the name of field to search forCopyright © 2020. All rights reserved.