@Module public interface ClassEnhancer
Modifier and Type | Method and Description |
---|---|
void |
enhance(GenClass genClass,
JClass baseClass,
java.lang.String extClassName)
Enhances the class by adding to the GenClass.
|
void |
postEnhance(JavaClass extClass)
Any post compilation fixups.
|
void |
preEnhance(JavaClass baseClass)
Fixups for the pre-enhancement class.
|
boolean |
shouldEnhance(java.lang.String className)
Returns true if the class will be enhanced.
|
boolean shouldEnhance(java.lang.String className)
void preEnhance(JavaClass baseClass) throws java.lang.Exception
java.lang.Exception
void enhance(GenClass genClass, JClass baseClass, java.lang.String extClassName) throws java.lang.Exception
java.lang.Exception
void postEnhance(JavaClass extClass) throws java.lang.Exception
java.lang.Exception