Class AvoidDuplicatePatchingUtil
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.support.AvoidDuplicatePatchingUtil
-
public class AvoidDuplicatePatchingUtil extends Object
Avoids patching a given class when it has already been patched. The mechanism for checking this is to add a field to the class with a comma-separated list of CBP names that have been applied to the class and to check this list for a match before running the cbp.
-
-
Constructor Summary
Constructors Constructor Description AvoidDuplicatePatchingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends JavassistClassBytecodeProcessor>
TenableAvoid(T cbp)
-
-
-
Method Detail
-
enableAvoid
public static <T extends JavassistClassBytecodeProcessor> T enableAvoid(T cbp)
-
-