Package org.jpmml.agent
Class ExtensionListRemover
- java.lang.Object
-
- org.jpmml.agent.SimpleTransformer
-
- org.jpmml.agent.ExtensionListRemover
-
- All Implemented Interfaces:
ClassFileTransformer
public class ExtensionListRemover extends SimpleTransformer
A class file transformer that removes the
extensionsfield declaration from allorg.dmg.pmml.HasExtensionsimplementation classes.
-
-
Constructor Summary
Constructors Constructor Description ExtensionListRemover()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(String className)javassist.CtClasstransform(javassist.CtClass ctClass)-
Methods inherited from class org.jpmml.agent.SimpleTransformer
transform
-
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
-
-
-
-
Method Detail
-
accept
public boolean accept(String className)
- Specified by:
acceptin classSimpleTransformer
-
transform
public javassist.CtClass transform(javassist.CtClass ctClass) throws javassist.CannotCompileException- Specified by:
transformin classSimpleTransformer- Throws:
javassist.CannotCompileException
-
-