Class ExtensionListRemover

  • All Implemented Interfaces:
    java.lang.instrument.ClassFileTransformer

    public class ExtensionListRemover
    extends SimpleTransformer

    A class file transformer that removes the extensions field declaration from all org.dmg.pmml.HasExtensions implementation classes.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String className)  
      javassist.CtClass transform​(javassist.CtClass ctClass)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.instrument.ClassFileTransformer

        transform
    • Constructor Detail

      • ExtensionListRemover

        public ExtensionListRemover()
    • Method Detail

      • transform

        public javassist.CtClass transform​(javassist.CtClass ctClass)
                                    throws javassist.CannotCompileException
        Specified by:
        transform in class SimpleTransformer
        Throws:
        javassist.CannotCompileException