Class NonPublicClassPartOfAPI

  • All Implemented Interfaces:
    org.revapi.configuration.Configurable, org.revapi.java.spi.Check

    public final class NonPublicClassPartOfAPI
    extends org.revapi.java.spi.CheckBase
    Since:
    0.1
    Author:
    Lukas Krejci
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.revapi.java.spi.CheckBase

        org.revapi.java.spi.CheckBase.ActiveElements<T extends org.revapi.java.spi.JavaElement>
      • Nested classes/interfaces inherited from interface org.revapi.java.spi.Check

        org.revapi.java.spi.Check.Type
    • Constructor Detail

      • NonPublicClassPartOfAPI

        public NonPublicClassPartOfAPI()
    • Method Detail

      • initialize

        public void initialize​(@Nonnull
                               org.revapi.AnalysisContext analysisContext)
        Specified by:
        initialize in interface org.revapi.configuration.Configurable
        Overrides:
        initialize in class org.revapi.java.spi.CheckBase
      • getExtensionId

        @Nullable
        public String getExtensionId()
        Specified by:
        getExtensionId in interface org.revapi.configuration.Configurable
        Overrides:
        getExtensionId in class org.revapi.java.spi.CheckBase
      • getJSONSchema

        @Nullable
        public Reader getJSONSchema()
        Specified by:
        getJSONSchema in interface org.revapi.configuration.Configurable
        Overrides:
        getJSONSchema in class org.revapi.java.spi.CheckBase
      • getInterest

        public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
      • isDescendingOnNonExisting

        public boolean isDescendingOnNonExisting()
        Specified by:
        isDescendingOnNonExisting in interface org.revapi.java.spi.Check
        Overrides:
        isDescendingOnNonExisting in class org.revapi.java.spi.CheckBase
      • doVisitClass

        protected void doVisitClass​(org.revapi.java.spi.JavaTypeElement oldType,
                                    org.revapi.java.spi.JavaTypeElement newType)
        Overrides:
        doVisitClass in class org.revapi.java.spi.CheckBase
      • doEnd

        protected List<org.revapi.Difference> doEnd()
        Overrides:
        doEnd in class org.revapi.java.spi.CheckBase