Package org.revapi.java.filters
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 Summary
Fields Modifier and Type Field Description protected boolean
doNothing
Deprecated.protected Predicate<String>
excludeTest
Deprecated.protected Predicate<String>
includeTest
Deprecated.
-
Constructor Summary
Constructors Constructor Description AnnotatedElementFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
applies(org.revapi.Element<?> element)
Deprecated.protected boolean
canBeReIncluded(org.revapi.java.spi.JavaModelElement element)
Deprecated.void
close()
Deprecated.protected Predicate<String>
composeTest(List<String> fullMatches, List<Pattern> patterns)
Deprecated.String
getExtensionId()
Deprecated.Reader
getJSONSchema()
Deprecated.protected Stream<String>
getTestedElementRepresentations(org.revapi.java.spi.JavaModelElement element)
Deprecated.void
initialize(org.revapi.AnalysisContext analysisContext)
Deprecated.boolean
shouldDescendInto(Object element)
Deprecated.protected void
validateConfiguration(boolean excludes, List<String> fullMatches, List<Pattern> patterns, boolean regexes)
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.
-
composeTest
protected Predicate<String> composeTest(List<String> fullMatches, List<Pattern> patterns)
Deprecated.
-
close
public void close() throws Exception
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getExtensionId
@Nullable public String getExtensionId()
Deprecated.- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
@Nullable public Reader getJSONSchema()
Deprecated.- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
Deprecated.- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
-
applies
public boolean applies(@Nullable org.revapi.Element<?> element)
Deprecated.- Specified by:
applies
in interfaceorg.revapi.query.Filter<org.revapi.Element<?>>
-
-