Class AnnotationTypeAttributeAdded

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

    public final class AnnotationTypeAttributeAdded
    extends Object
    implements org.revapi.DifferenceTransform<org.revapi.java.spi.JavaMethodElement>
    Since:
    0.1
    Author:
    Lukas Krejci
    • Constructor Detail

      • AnnotationTypeAttributeAdded

        public AnnotationTypeAttributeAdded()
    • Method Detail

      • getDifferenceCodePatterns

        @Nonnull
        public Pattern[] getDifferenceCodePatterns()
        Specified by:
        getDifferenceCodePatterns in interface org.revapi.DifferenceTransform<org.revapi.java.spi.JavaMethodElement>
      • 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
      • transform

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