Class TransformerHelper


  • public class TransformerHelper
    extends java.lang.Object
    • Constructor Detail

      • TransformerHelper

        public TransformerHelper()
    • Method Detail

      • isAccessFlagSynthetic

        private static boolean isAccessFlagSynthetic​(javassist.CtMethod method)
      • isBridgeMethod

        private static boolean isBridgeMethod​(javassist.CtMethod method)
      • getCorrectReturnValueType

        public static java.lang.String getCorrectReturnValueType​(javassist.CtClass returnTypeAsCtClass)
        Returns:
        The correct return type, i.e. takes care of casting the a wrapper type to primitive type if needed.
      • isNotSyntheticField

        public static boolean isNotSyntheticField​(javassist.bytecode.FieldInfo fieldInfo)
      • shouldSkipMethod

        public static boolean shouldSkipMethod​(javassist.CtMethod method)
      • getReturnTypeAsString

        public static java.lang.String getReturnTypeAsString​(javassist.CtMethod method)
                                                      throws javassist.NotFoundException
        Throws:
        javassist.NotFoundException
      • shouldTreatAsSystemClassCall

        public static boolean shouldTreatAsSystemClassCall​(javassist.CtClass declaringClass)