Class AnnotatedElementFilter

  • All Implemented Interfaces:
    AutoCloseable, org.revapi.configuration.Configurable, org.revapi.ElementFilter, org.revapi.query.Filter<org.revapi.Element<?>>, org.revapi.TreeFilterProvider

    @Deprecated
    public final class AnnotatedElementFilter
    extends Object
    Deprecated.
    the generic filtering together with matcher.java can fulfil the same purpose as this
    Since:
    0.5.1
    Author:
    Lukas Krejci
    • Field Detail

      • doNothing

        protected boolean doNothing
        Deprecated.
    • Constructor Detail

      • AnnotatedElementFilter

        public AnnotatedElementFilter()
        Deprecated.
    • Method Detail

      • canBeReIncluded

        protected boolean canBeReIncluded​(org.revapi.java.spi.JavaModelElement element)
        Deprecated.
      • getTestedElementRepresentations

        protected Stream<String> getTestedElementRepresentations​(org.revapi.java.spi.JavaModelElement element)
        Deprecated.
      • validateConfiguration

        protected void validateConfiguration​(boolean excludes,
                                             List<String> fullMatches,
                                             List<Pattern> patterns,
                                             boolean regexes)
        Deprecated.
      • getExtensionId

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

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

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

        public boolean applies​(@Nullable
                               org.revapi.Element<?> element)
        Deprecated.
        Specified by:
        applies in interface org.revapi.query.Filter<org.revapi.Element<?>>
      • shouldDescendInto

        public boolean shouldDescendInto​(@Nullable
                                         Object element)
        Deprecated.
        Specified by:
        shouldDescendInto in interface org.revapi.query.Filter<org.revapi.Element<?>>