Package japicmp.model

Class JApiSuperclass

    • Method Detail

      • getJApiClass

        public Optional<JApiClass> getJApiClass()
        Returns the JApiClass representation of this superclass. The return value is Optional.absent() in case the superclass for the old and new version is absent.
        Returns:
        the JApiClass representation of this superclass as Optional
      • getOldSuperclass

        public Optional<javassist.CtClass> getOldSuperclass()
      • getNewSuperclass

        public Optional<javassist.CtClass> getNewSuperclass()
      • getOldSuperclassName

        public Optional<java.lang.String> getOldSuperclassName()
      • getNewSuperclassName

        public Optional<java.lang.String> getNewSuperclassName()
      • getSuperclassOld

        public java.lang.String getSuperclassOld()
      • getSuperclassNew

        public java.lang.String getSuperclassNew()
      • isBinaryCompatible

        public boolean isBinaryCompatible()
        Description copied from interface: JApiCompatibility
        Returns true if this element has changed binary compatible.
        Specified by:
        isBinaryCompatible in interface JApiCompatibility
        Returns:
        true if this element has changed binary compatible
      • isSourceCompatible

        public boolean isSourceCompatible()
        Description copied from interface: JApiCompatibility
        Returns true if this element has changed source compatible.
        Specified by:
        isSourceCompatible in interface JApiCompatibility
        Returns:
        true if this element has changed source compatible
      • setJApiClass

        void setJApiClass​(JApiClass jApiClass)
      • getJApiClassOwning

        public JApiClass getJApiClassOwning()
        Returns the JApiClass this superclass belongs to.
        Returns:
        the JApiClass this superclass belongs to.
      • toString

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