Package io.jmix.gradle
Class SettersEnhancingStep
java.lang.Object
io.jmix.gradle.BaseEnhancingStep
io.jmix.gradle.SettersEnhancingStep
- All Implemented Interfaces:
EnhancingStep
Enhances entity classes: setters fire propertyChange events
-
Field Summary
Fields inherited from class io.jmix.gradle.BaseEnhancingStep
classPool, logger, outputDir -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidenhanceProtectedForPersistentMethods(javassist.CtClass ctClass) protected voidenhanceSetters(javassist.CtClass ctClass) protected voidexecuteInternal(javassist.CtClass ctClass) protected Stringprotected booleanisAlreadyEnhanced(javassist.CtClass ctClass) Methods inherited from class io.jmix.gradle.BaseEnhancingStep
execute, isEnhancingSupported, setClassPool, setLogger, setOutputDir
-
Constructor Details
-
SettersEnhancingStep
public SettersEnhancingStep()
-
-
Method Details
-
isAlreadyEnhanced
protected boolean isAlreadyEnhanced(javassist.CtClass ctClass) throws javassist.NotFoundException - Specified by:
isAlreadyEnhancedin classBaseEnhancingStep- Throws:
javassist.NotFoundException
-
getEnhancingType
- Specified by:
getEnhancingTypein classBaseEnhancingStep
-
executeInternal
protected void executeInternal(javassist.CtClass ctClass) throws IOException, javassist.CannotCompileException, javassist.NotFoundException - Specified by:
executeInternalin classBaseEnhancingStep- Throws:
IOExceptionjavassist.CannotCompileExceptionjavassist.NotFoundException
-
enhanceSetters
protected void enhanceSetters(javassist.CtClass ctClass) throws javassist.NotFoundException, javassist.CannotCompileException - Throws:
javassist.NotFoundExceptionjavassist.CannotCompileException
-
enhanceProtectedForPersistentMethods
protected void enhanceProtectedForPersistentMethods(javassist.CtClass ctClass)
-