Class DownplayHarmlessAnnotationChanges

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

    public final class DownplayHarmlessAnnotationChanges
    extends Object
    implements org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
    Since:
    0.12.0
    Author:
    Lukas Krejci
    • Constructor Detail

      • DownplayHarmlessAnnotationChanges

        public DownplayHarmlessAnnotationChanges()
    • Method Detail

      • getDifferenceCodePatterns

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

        @Nullable
        public org.revapi.Difference transform​(@Nullable
                                               org.revapi.java.spi.JavaModelElement oldElement,
                                               @Nullable
                                               org.revapi.java.spi.JavaModelElement newElement,
                                               @Nonnull
                                               org.revapi.Difference difference)
        Specified by:
        transform 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