Class FieldPublicizer

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

    public class FieldPublicizer
    extends SimpleTransformer

    A class file transformer that relaxes the visibility of all instance fields from private to public.

    • Constructor Summary

      Constructors 
      Constructor Description
      FieldPublicizer()  
    • 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

      • FieldPublicizer

        public FieldPublicizer()