Class AnnotatedElementFilter

java.lang.Object
org.revapi.java.filters.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 Details

    • includeTest

      protected Predicate<String> includeTest
      Deprecated.
    • excludeTest

      protected Predicate<String> excludeTest
      Deprecated.
    • doNothing

      protected boolean doNothing
      Deprecated.
  • Constructor Details

    • AnnotatedElementFilter

      public AnnotatedElementFilter()
      Deprecated.
  • Method Details

    • 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.
    • composeTest

      protected Predicate<String> composeTest(List<String> fullMatches, List<Pattern> patterns)
      Deprecated.
    • close

      public void close() throws Exception
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
    • 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<?>>