Package javassist

Class CtMethod.ConstParameter

    • Method Detail

      • integer

        public static CtMethod.ConstParameter integer​(int i)
        Makes an integer constant.
        Parameters:
        i - the constant value.
      • integer

        public static CtMethod.ConstParameter integer​(long i)
        Makes a long integer constant.
        Parameters:
        i - the constant value.
      • string

        public static CtMethod.ConstParameter string​(java.lang.String s)
        Makes an String constant.
        Parameters:
        s - the constant value.