Class NoLongerDeprecated

  • All Implemented Interfaces:
    AutoCloseable, org.revapi.configuration.Configurable, org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>

    public final class NoLongerDeprecated
    extends Object
    Since:
    0.1
    Author:
    Lukas Krejci
    • Field Detail

      • analysisContext

        protected org.revapi.AnalysisContext analysisContext
    • Constructor Detail

      • NoLongerDeprecated

        public NoLongerDeprecated()
    • Method Detail

      • getDifferenceCodePatterns

        @Nonnull
        public Pattern[] getDifferenceCodePatterns()
        Specified by:
        getDifferenceCodePatterns in interface org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
      • getExtensionId

        @Nullable
        public String getExtensionId()
        Specified by:
        getExtensionId in interface org.revapi.configuration.Configurable
      • getJSONSchema

        @Nullable
        public Reader getJSONSchema()
        Specified by:
        getJSONSchema in interface org.revapi.configuration.Configurable
      • initialize

        public void initialize​(@Nonnull
                               org.revapi.AnalysisContext analysisContext)
        Specified by:
        initialize in interface org.revapi.configuration.Configurable
      • tryTransform

        public org.revapi.TransformationResult tryTransform​(@Nullable
                                                            org.revapi.java.spi.JavaModelElement oldElement,
                                                            @Nullable
                                                            org.revapi.java.spi.JavaModelElement newElement,
                                                            @Nonnull
                                                            org.revapi.Difference difference)
        Specified by:
        tryTransform in interface org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>