public static class JavaAssistClassWrapperFactory.JavaAssistClassWrapper extends java.lang.Object implements ClassWrapper<javassist.CtClass>
Modifier and Type | Method and Description |
---|---|
boolean |
isInterface()
Check if class is interface
|
javassist.CtClass |
unwrap()
Get original object which represent class
|
ClassWrapper<javassist.CtClass> |
wrap(javassist.CtClass original)
Wrap changed implementation to get a new instance of ClassWrapper
|
public boolean isInterface()
ClassWrapper
isInterface
in interface ClassWrapper<javassist.CtClass>
true
if class is an interface.public javassist.CtClass unwrap()
ClassWrapper
unwrap
in interface ClassWrapper<javassist.CtClass>
public ClassWrapper<javassist.CtClass> wrap(javassist.CtClass original)
ClassWrapper
wrap
in interface ClassWrapper<javassist.CtClass>
original
- - original class specific for byte-code modification framework.