Package japicmp.model

Class JApiMethod

    • Field Detail

      • oldMethod

        private final Optional<javassist.CtMethod> oldMethod
      • newMethod

        private final Optional<javassist.CtMethod> newMethod
    • Method Detail

      • computeReturnTypeChanges

        private JApiReturnType computeReturnTypeChanges​(Optional<javassist.CtMethod> oldMethodOptional,
                                                        Optional<javassist.CtMethod> newMethodOptional)
      • computeReturnType

        private java.lang.String computeReturnType​(javassist.CtMethod oldMethod)
      • hasSameReturnType

        public boolean hasSameReturnType​(JApiMethod otherMethod)
      • hasSameSignature

        public boolean hasSameSignature​(JApiMethod jApiMethod)
      • getNewMethod

        public Optional<javassist.CtMethod> getNewMethod()
      • getOldMethod

        public Optional<javassist.CtMethod> getOldMethod()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public static java.lang.String toString​(Optional<javassist.CtMethod> method)