Class AvoidDuplicatePatchingCBP

  • All Implemented Interfaces:
    org.zeroturnaround.javarebel.ClassBytecodeProcessor

    public class AvoidDuplicatePatchingCBP
    extends JavassistClassBytecodeProcessor
    A CBP that 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.
    Author:
    lanza